Company Logo

Authentication

This API is protected using OAuth.

  1. Call /token api. You will get an access token.
  2. Use the access token in the Authorization header. The Header should be in the Bearer <token> format.

Request

Content-Type: multipart/form-data

KeyValue
usernameShared with you over email
passwordShared with you over email

Response

{
  "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.lNc2hYdWNwNUpDUktXSkJpc1dBQGRwZHplcm8uY29tIiwicGVybWlzc2lvbnMiOiJ.6aBpfdiVqKZlRYhtM-"
}

The access token is valid for 30 minutes. You can relogin in 29 minutes.

caution

The access token generation API is expensive for us and slow for you. We will penalise API calls if there are too many API calls to this. Make sure you are re-using the token in future requests