{{base_url}}/token

POST {{base_url}}/token

Response

FieldDescription
access_tokenThe unique credential that provides specific permission to use the API.
token_typeThe token type represents how the access token will be generated.
expires_inThe number of seconds until the access token expires. This is a running countdown and is set to 43200 seconds (12 hours).
refresh_tokenThe unique credential that allows a client to get a new access token. Unlike access tokens, refresh tokens are set to expire after 7 days.

Request Body

[{"name"=>"Username", "value"=>"{{username}}", "datatype"=>"string"}, {"name"=>"Password", "value"=>"{{password}}", "datatype"=>"string"}, {"name"=>"grant_type", "value"=>"{{grant_type}}", "datatype"=>"string"}, {"name"=>"Integrated", "value"=>"N", "datatype"=>"string"}, {"name"=>"database", "value"=>"{{database}}", "datatype"=>"string"}, {"name"=>"Client_Id", "value"=>"{{Client_Id}}", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"{{client_secret}}", "datatype"=>"string"}, {"name"=>"refresh_token", "value"=>"{{refresh_token}}", "datatype"=>"string"}, {"name"=>"culture", "value"=>"{{language}}", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-TypestringRequired.

The type of content supported by the API endpoint.

NOTE: This endpoint is the only resource that accepts this type of information. | | Authorization | string | | Required.

The type of authorization supported by the API endpoint.

NOTE: This endpoint accepts the OAuth 2.0 Bearer Token. |

RESPONSES

status: OK

{"access_token":"NewSAMPLEtokenresponse","token_type":"bearer","expires_in":43200,"refresh_token":"NewSAMPLErefreshtokenresponse"}