v29

latestOpenAPI 3.0.3raw.githubusercontent.com2026-05-13511526891.2 KB
OAuth Tokens

Show Token

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

  • Admins, Agents, End Users
get/api/v2/oauth/tokens/{oauth_token_id}

Response

Success response