Authorization

Get Token

post

Get token to authorize API operations

Header parameters
Content-TypestringRequired

Must always be 'application/x-www-form-urlencoded'

Default: application/x-www-form-urlencodedExample: application/x-www-form-urlencoded
Body
client_idstringRequired

Provided client_id for partner

client_secretstringRequired

Provided client secret for partner

grant_typestringRequired

Grant type, always use 'client_credentials'

Default: client_credentials
Responses
200
OK
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