POST /users/login

This operation is required for beginning a user session. It takes the email and password of the user, and returns a session token and its expiration date/time. The token can then be used for other API requests.

Resource URL

Resource Information

The data must be formatted as JSON, with the following fields:

Field Description Notes
email The email of the user Mandatory
password The password of the user Mandatory

Example Request

curl -i -X POST \
     -H "Content-Type: application/json" \
     -d '{
           "email": "",
           "password": "S3cr3t!"
         }' \

Example Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 81
Connection: keep-alive


See Also

Back to Users

Back to API Main Page