Skip to main content
POST
Create OAuth Tokens
Send your clientId and clientSecret, and receive a short-lived (10 minutes) accessToken and a long-lived (30 days) refreshToken.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
clientId
string
required
clientSecret
string
required
grantType
enum<string>
default:clientCredentials
Available options:
clientCredentials

Response

Default Response

accessToken
string
required
refreshToken
string
required
expiresIn
number
required