Import theme from JSON
user-themes
Import theme from JSON
Import theme from JSON. Requests are scoped to the authenticated API key owner; cross-owner resource IDs return 404.
POST
Import theme from JSON
Authorizations
YALG Developer API key. Send it in the x-api-key header from a server-side environment only.
Body
application/json
Name for the imported theme
Theme payload containing colors, typography, and styling exported from YALG.
Example:
{
"colors": {
"primary": "#e00036",
"background": "#ffffff",
"text": "#111111"
},
"typography": {
"fontFamily": "Inter",
"headingWeight": 700
},
"styling": { "borderRadius": 8, "shadow": "soft" }
}Response
Theme imported successfully
Reusable YALG writing style theme.
Theme identifier.
Example:
"018f9f40-7d7b-7712-9b0f-2e5d9fd5df3f"
Example:
"Founder voice"
Example:
"Opinionated and direct"
Example:
false
Example:
"2026-06-20T17:24:39.000Z"
Example:
"2026-06-20T17:24:39.000Z"