Authorization
Get token to authorize API operations
Header parameters
Content-TypestringRequiredDefault:
Must always be 'application/x-www-form-urlencoded'
application/x-www-form-urlencoded
Example: application/x-www-form-urlencoded
Body
client_idstringRequired
Provided client_id for partner
client_secretstringRequired
Provided client secret for partner
grant_typestringRequiredDefault:
Grant type, always use 'client_credentials'
client_credentials
Responses
200
OK
application/json
400
Bad Request
application/json
post
POST /oauth2/token HTTP/1.1
Host: b2b.auth.platform-test.tradevest.ai
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 81
"client_id='string'&client_secret='string'&grant_type='client_credentials'"
{
"access_token": "string",
"expires_in": 3600,
"token_type": "Bearer"
}
Last updated