Create OAuth Token

Create an OAuth access token from an OAuth client ID and secret which can be used to authenticate requests to the API. The client ID and secret can be provided either in the request body or in the Authorization header using the basic authentication scheme.

Body Params
string
length ≥ 1

Unique identifier of the OAuth client to create an access token for. Only required if the request does not include an Authorization header that contains the OAuth client ID and secret using the basic authentication scheme.

string
length ≥ 1

Secret of the OAuth client to create an access token for. Only required if the request does not include an Authorization header that contains the OAuth client ID and secret using the basic authentication scheme.

number
300 to 315360000
Defaults to 3600

Number of seconds from the date and time that the access token is created that it will expire. Must be an amount of seconds between 300 (5 minutes) and 315360000 (10 years). Defaults to 3600 (1 hour) if not set.

string
enum
required
Allowed:
Responses

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