Generate token
This API call is made to generate token that enables the users to make the necessary requests.
Method: POST
URL: {{base_url}}/Token
This call has no parameters however the request body is as follows
{
"Username":"your username",
"Grant_type":"the grant type",//should be either agency or wallet
"Password":"the password"
}
Response
Output | Type | Description |
---|---|---|
access_token | string | access token used in every request |
Sample response
{
"access_token":"08c3f17a-538c-4a75-a215-f515b4127f71a8c8a1d0-734b-4476..."
}
Example of the API call: {{base_url}}/Token