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}
Request
- Base URLhttps://example.zendesk.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Success response
Changes
No operation changes recorded.