Auth API
Access Tokens
UI - This page shows how to get the access token using the authentication credentials. Masters India supports access-token-based authentication. once a user hits the login button, our API generates an access_token and a refresh token for a user after validating his credentials.
API - This token needs to be passed in the subsequent requests to avoid permission or access issues. To generate the Authorization token by clicking on the Send button. Once the Token Is generated. We need the token in the Authorization header with the prefix JWT so the token will be passed as JWT <token>
The Access token key can be used in subsequent requests but expires after 24 hours which must be requested again by re-initiating a login or calling the token-refresh API. The Access token once generated is valid for 24 hours and the refresh token is valid for many days.
Auth API
Name | Description |
---|---|
API Name | Authentication |
URL | |
Method Type | POST |
Headers | Leave Blank |
Body | raw |
Action | Hit the Send button |
Response |
JWT token will get Generated - Copy & paste it In the header section of Upload API
Response Messages
Code | MSG | |
---|---|---|
200 | Sueess | Data Extracted Successfully |
206 | error | (Invalid Credentials) |
400 | error | (Invalid Params) |
Last updated