POST /oauth/token/

The access_token has a lifetime. After a period of time, which was returned to you in expires_in JSON property, the access_token will be invalid, and you can no longer use it to get data from our API. To refresh the access_token, you must use the refresh_token.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/x-www-form-urlencoded"

Authorization String Yes

Base 64 encoded string containing the client_id and client_secret values. The header value should be Basic <base64(client_id:client_secret)>.

Request body fields

Name Type Required Description
grant_type String No

Since you are to refresh your access_token, you must use the value "refresh_token"

Possible values:

  • "refresh_token"
  • "authorization_code"

Default value: "refresh_token"

refresh_token String No

The refresh token that you received after you exchanged the authorization code

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.