Updates the metadata of a stored third-party credential. A field you omit keeps its current value. The credential value itself cannot be changed here and is never returned. The domain is read-only, and request_header_key cannot be changed on a credential that has a domain. Only credentials with a token_type of text can be updated; any other type responds with 400. A credential the list endpoint does not return is also not updatable, and responds with 404.
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
The fields accepted when updating a stored third-party credential. Every field is optional, and one you omit keeps its current value. The credential value cannot be changed here.
A name for the credential, so a teammate can identify it later.
An optional prefix placed before the credential value in the header, for example Bearer.
- The production API serverhttps://api.intercom.io/auth_tokens/{id}
- The european API serverhttps://api.eu.intercom.io/auth_tokens/{id}
- The australian API serverhttps://api.au.intercom.io/auth_tokens/{id}
curl -i -X PATCH \
https://api.intercom.io/auth_tokens/12345 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: 2.18' \
-d '{
"name": "Fulfilment API key (rotated host)",
"description": "Used by the order status connector"
}'successful
Metadata for a stored third-party credential that data connectors use to authenticate outbound requests. Only metadata is returned — the credential value itself, and its refresh and OAuth configuration, are never exposed.
An optional description of what the credential is used for.
How the credential is presented to the external API, for example as a header value or an HMAC signature.
The request header the credential is sent in.
The prefix placed before the credential value in the header, for example Bearer.
The domain the credential is scoped to, if one was set.
{ "type": "auth_token", "id": "12345", "name": "Fulfilment API key (rotated host)", "description": "Used by the order status connector", "token_type": "text", "request_header_key": "Authorization", "token_prefix": "Bearer", "domain": "api.fulfilment.example.com", "created_at": 1763199000, "updated_at": 1768918935 }