Get Token
Tokens
Get Token
Get a specific token by ID
GET
Get Token
Documentation Index
Fetch the complete documentation index at: https://docs.tokencraft.dev/llms.txt
Use this file to discover all available pages before exploring further.
Get Token
Retrieves a specific design token by its unique identifier within a mode.Endpoint
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Tokenset ID |
modeId | string | Yes | Mode ID |
tokenId | string | Yes | Token ID returned by the list tokens endpoints |
To look up a
tokenId, call List Tokens or Get Tokenset Tokens and use the id field from the response.Response
Status:200 OK
Special Fields
| Field | Description |
|---|---|
resolved_value | If token is an alias, this contains the final resolved value |
alias_to | If set, this token references another token |
Token with Alias
Examples
Error Responses
404 Not Found
- Token ID doesn’t exist in this mode
- Token was deleted
- Token belongs to a different tokenset or mode
Use Cases
1. Token Details View
Show full token information:2. Token Validation
Check if token exists:3. Resolve Alias Chain
Follow alias references:Next Steps
List All Tokens
Get all tokens in a mode
Export Tokens
Export in multiple formats