You are currently viewing 'Get Access Token ' page



Usage

POST /Auth/ValidateUser

Content-Type

application/x-www-form-urlencoded

Description

Return an access token of type "bearer". Put the token in the request header field "Authorization" when making API calls to all other endpoints.
For example:

Authorization: bearer 12345678asc2asc7asc1asc3ca 

Note

The following conditions must be satisfied to get a success response from this endpoint.

Put the following field in the request header:
Authorization: Basic YOUR_API_KEY

Include username and password fields in the body:
Username: YOUR_USER_NAME
Password: YOUR_PASSWORD

Example

Sample response:

{

"access_token": "abcd415236evsaasc",
"token_type": "bearer",
"expires_in": "2678400",
"message": ""
}