List Tokens
Retrieves all design tokens for a specific mode within a tokenset.Endpoint
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Tokenset ID |
modeId | string | Yes | Mode ID |
Response
Status:200 OK
Token Object
| Field | Type | Description |
|---|---|---|
id | string | Unique token identifier |
tokenset_id | string | Parent tokenset ID |
mode_id | string | Parent mode ID |
name | string | Token name (dot notation) |
type | string | Token type (color, dimension, etc.) |
value | any | Token value |
description | string|null | Optional description |
alias_to | string|null | Reference to another token |
created_at | string | ISO 8601 timestamp |
updated_at | string | ISO 8601 timestamp |
Supported Token Types
color- Color valuesdimension- Sizes and spacingfontFamily- Font familiesfontWeight- Font weightsfontSize- Font sizeslineHeight- Line heightsletterSpacing- Letter spacingduration- Animation durationscubicBezier- Easing functionsnumber- Numeric valuesstrokeStyle- Stroke stylesborder- Border definitionstransition- Transition definitionsshadow- Shadow effectsgradient- Gradient definitionstypography- Complete typography definitions