Authenticate users

Authenticate the user prior to making other API calls. Insert the bearer token obtained from this call in all other API calls in the HTTPS header in the form of authorization: bearer {token}. The token is valid for twenty-four hours.

Request
Request Body schema: application/json
email
required
string <email> (Email) ^\S+@\S+\.\S{2,}$

The email address of the entity.

password
required
string <password> (Password) >= 8 characters

The password must contain at least eight characters, including one upper-case letter, one lower-case letter, and one number. The password may consist of a combination of letters, numbers, and special characters.

Responses
200

Successful operation

400

Bad request error

500

Internal server error

post/authenticate
Request samples
application/json
{
  • "email": "email@email.com",
  • "password": "123Abcd!"
}
Response samples
application/json
{
  • "data": {
    }
}