Authentication
This API is protected using OAuth.
- Call
/token
api. You will get an access token. - Use the access token in the
Authorization
header. The Header should be in theBearer <token>
format.
Request
Content-Type: multipart/form-data
Key | Value |
---|---|
username | Shared with you over email |
password | Shared 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