GET /tokens/:id endpoint retrieves the full metadata record for a specific token in your workspace. You can use this to check a token’s current status, inspect its assigned scopes, or confirm its expiration date. The response never includes the raw secret value — only the token’s metadata.
Required scope: tokens:read
Path parameters
The unique identifier of the token to retrieve. Format:
tok_a1b2c3d4e5f6g7h8i9j0k1l2. This is the id field returned when the token was created or listed.Request
Response
A successful request returns200 OK with the token’s metadata object.
The unique identifier for the token. Format:
tok_a1b2c3d4e5f6g7h8i9j0k1l2.The human-readable name assigned to the token.
The list of permission scopes granted to this token.
The current state of the token. One of
active, expired, or revoked.ISO 8601 datetime when the token was created.
ISO 8601 datetime when the token expires.
null if the token has no expiration date.ISO 8601 datetime of the most recent request authenticated with this token.
null if the token has never been used.The email address of the workspace member who created the token.
Example response
Error responses
If the token ID does not exist in your workspace, or was created in a different workspace, the API returns:200 OK for tokens that have been revoked or have expired — the status field in the response reflects their current state. The record remains retrievable even after revocation.