Some of the requests to the TicketBiscuit API require authentication.
HTTP POST to Users
To authenticate your session, make an HTTP POST request to the generic User Resource Uri:
You must POST the following parameters:
|EmailAddress||The email address registered with TicketBiscuit.|
|Password||The password used along with the matching email address to log into the TicketBiscuit application.|
Login to TicketBiscuit using
curl -XPOST https://api.ticketbiscuit.com/Users/Login
Handling Possible Outcomes
Your user information is returned. It contains the Name, Email Address, and the telephone number you used when registering with TicketBiscuit. It also contains the TicketBiscuit accounts that you are authorized. The account “Key” returned by this call is used as part of the url in all subsequent calls. Note that the “Key” is case-sensitive.
An authorization cookie was also returned upon a successful log in. This cookie must be included in subsequent calls that require authentication, i.e. user requests, reserving tickets, etc.
Invalid Email Address or Password
An Unauthorized (401) HTTP response is returned should the email address and or password be invalid.