Designs
Get design tokens
Returns only the design tokens (colors, fonts, variables, corner radii) as structured JSON.
Authorization
bearerAuth AuthorizationBearer <token>
API key from Settings > Developer > REST API. Format: moda_live_...
In: header
Query Parameters
url*string
Canvas URL or share URL to retrieve tokens from.
page_number?integer
1-indexed page number.
Range
1 <= valueResponse Body
application/json
curl -X GET "https://api.moda.app/v1/designs/tokens?url=string"{
"variables": {
"property1": "string",
"property2": "string"
},
"colors": [
"string"
],
"fonts": [
{
"family": "string",
"weights": [
0
],
"roles": [
"string"
]
}
],
"radii": [
"string"
],
"dimensions": {
"width": 0,
"height": 0
}
}