This API authenticates user credentials and returns an access token
POST {auth_endpoint}/auth/token
POST
{auth_endpoint}/auth/token
Name
Type
Description
clientId
string
Client identifier for the application
grantType
Type of authentication. Use "password" or "refresh_token".
"password"
"refresh_token"
username
Username for the user
password
Password for the user. Required if grant_type is "password"
refreshToken
Refresh token string. Required if grant_type is "refresh_token"
code
Authorization code (used for authorization_code grant type)
authorization_code
redirectUrl
URL to redirect to after authorization
transactionId
Unique ID for tracking the request
tenant
Identifier for the tenant
Content-type*
application/x-www-form-urlencoded
curl -X 'POST' '{auth_endpoint}/auth/token?clientId=string&grantType=password&username=string&password=string&refreshToken=string&code=string&redirectUri=string&transactionId=string&tenant=string' -H 'accept: */*' -d ''
curl -X 'POST'
'{auth_endpoint}/auth/token?clientId=string&grantType=password&username=string&password=string&refreshToken=string&code=string&redirectUri=string&transactionId=string&tenant=string'
-H 'accept: */*'
-d ''
Last updated 6 months ago
{ "expires": 3600, "access_token": "string", "refresh_token": "string", "token_type": "string" }
{"description": "Unauthorized"}
{"description": "Forbidden"}
{"description": "Not Found"}