Refresh OAuth token

POST/api/oauth/refreshToken

Refresh an OAuth access token

Compatibility refresh endpoint. Accepts JSON, form-urlencoded, or multipart form data. grant_type must be refresh_token.

Permission

Credentials are optional here.

HTTP Basic, using your client ID and secret.

Request body

Sent as application/json or application/x-www-form-urlencoded or multipart/form-data.

grant_typestringrequired
Always refresh_token.
refresh_tokenstring (password)required
client_idstring
client_secretstring (password)

Responses

200Refreshed access token.
access_tokenstringrequired
expires_inintegerrequired
refresh_tokenstring
scopestringrequired
token_typestringrequired
Always Bearer.
400Invalid OAuth request, grant, code, redirect URI, or grant type.
errorstringrequired
error_descriptionstring
401Invalid OAuth client credentials or access token.
errorstringrequired
error_descriptionstring
500OAuth server error.
errorstringrequired
error_descriptionstring