GET /api/v2/oauth/tokens/{oauth_token_id}

Returns the properties of the specified token. For security reasons, only the first 10 characters of the access token are included.

In the first endpoint, id is a token id, not the full token.

In the second endpoint, include an Authorization: Bearer header with the full token to get its associated properties. Example:

curl https://{subdomain}.zendesk.com/api/v2/oauth/tokens/current.json \
  -H 'Authorization: Bearer ${authToken}' \
  -v -u {email_address}/token:{api_token}

Allowed for

Servers

Path parameters

Name Type Required Description
oauth_token_id Integer Yes

The ID of the OAuth token

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.