Get or Refresh Access Token

post
/oauth/token

Get or Refresh access token by different grant_type

Post the necessary fields for the API to get or refresh a new access token.

grant_type
string
required
>= 1 characters
Allowed values:
authorization_coderefresh_token
code
string

when grant_type is authorization_code, code is required

>= 1 characters
client_id
string
required
>= 1 characters
client_secret
string
required
>= 1 characters
refresh_token
string

when grant_type is refresh_token, refresh_token is required

Body
:
:
:
:
: