Obtain Access Token

Allows a registered application to obtain an OAuth 2 Bearer Token, which can be used to make API requests on the resource owner's behalf.

🚧

Special Characters

In retrieving for an access token, make sure to use --data-urlencode (instead of -d) if your credentials contain special characters.

Body Params
string
required

The grant type to be used. Currently only 'password' and 'refresh_token' are supported.

string
required

The SkySwitch assigned client id for the application.

string
required

The secret associated with the client. A mechanism for authorizing the client.

string

The resource owner's username. Required in retrieving an access token.

string

The resource owner's password. Required in retrieving an access token.

string

Space separated list of scopes. You may use asterisk (*) to use all scopes. Required in retrieving an access token.

string

The refresh token previously received from the api. Used for refreshing a token.

Response

Language
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json