v1
latestOpenAPI 3.0.32026-08-061874701.5 MBGets or refreshes an access token
Gets or refreshes an access token, as part of the OAuth process.
Query parameters
The client ID you obtained when you registered your app.
(Optional) Must use either this value or hash. Plain text method for sending this value. For example, client_secret={app_secret}. Encryption occurs at the HTTPS level.
Authorization code acquired after user selects "Allow" in the Web login UI.
Must be set to "authorization_code".
(Optional) Must use either this value or client_secret. SHA-256 hash of your app secret concatenated with a pipe and the authorization code. For example, hash={SHA_256(app_secret|code)}.
refresh_token value that came with the access token.
Deprecated If supplied, must match the redirect URI you registered for your app.
Headers
Required for POST and PUT requests. Defines the structure for the response.
Response
An access token