Obtain a new access_token by exchanging an authorization code, a refresh_token or api_keys.

Log in to see full request history
Body Params
string
required
uri

Required only if using the Authorization Code grant.
The registered callback URI.

It's the same URI used in the POST /oauth/authorize request.

string

Required only if using the Refresh Token Grant.

Use the value of the previously stored refresh_token.

string
required

The alphanumeric client_id obtained after registering your application/integration.

string
required

The alphanumeric client_secret obtained after registering your application/integration.

string

A list of space-separated scopes that your application will have access to on behalf of the user.

string

Required only if using the Authorization Code Grant.

Use the value of the code parameter attached to callback request.

string

Required only for Authorization Code Grant.

Use the value that was used to create code challenge in /authorize request

string

Required only for the api_keys grant.

API Key generated in Penneo user settings.

string

Required only for the api_keys grant.

Concatenation of the raw nonce, timestamp, and API secret, then SHA-1 hashed, and finally
Base64-encoded. The nonce, while sent as a Base64-encoded string, is used in its raw form to
generate this digest.

string

Required only for the api_keys grant. Used to generate the digest parameter.

A randomly generated string, no longer than 64 characters. It should be sent Base64-encoded.

string

Required only for the api_keys grant. Used to generate the digest parameter.

Current date and time in UTC or including timezone. Most standard formats are supported.

Responses

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json