v4

latestOpenAPI 3.0.1Apache 2.02026-07-312457525.9 MB
OAuth 2.0

Issue OAuth 2.0 token

post/oauth2/token

Headers

Authorizationstring

Basic authentication credentials: Basic base64(client_id:client_secret)

Response

access_tokenstring

The access token issued by the authorization server

token_typestring

The type of the token issued

expires_ininteger

The lifetime in seconds of the access token

refresh_tokenstring

The refresh token, which can be used to obtain new access tokens

refresh_token_expires_ininteger

The lifetime in seconds of the refresh token

Example response

{
  "token_type": "Bearer"
}