Looks for widgets and screens. All requests need a secret key; see REST API for keys, errors and limits.
List themes GET /v1/themes
Parameters Name In Type Description cursorquery stringlimitquery integersortByquery "createdAt"sortDirquery "asc" | "desc"
curl -X GET https://api.loomieo.com/v1/themes \
-H " Authorization: Bearer $LUMIEO_KEY "
Response 200 Name Type Description paginationrequired objectthemesrequired list of object
Errors 401: auth_unauthenticated403: forbidden422: validation_failed429: rate_limitedCreate a theme from a preset POST /v1/themes
Create a theme from a preset (minimal, bold, editorial) with optional token overrides
Body Name Type Description namerequired string1 to 120 characters behaviorobjectPlayer settings over the player style, by registry key (e.g. `controls.tap`). default {} playerStyle"auto" | "standard" | "swipe" | "loop" | "clip" | "story" | "watch"The player style: `auto` (match each widget's format: carousels and bubbles play Standard, stories play Story) or a named style. default "auto" preset"minimal" | "bold" | "editorial" | "pulse" | "bloom" | "zest" | "theater" | "studio" | "glass"default "minimal" screenobjectHow screens draw this theme (docs/specs/screens.md §16): `scheme` (`dark`, the default, or `light`) and a `sale` colour (`#rrggbb`, or null for a red that reads). default {"sale":null,"scheme":"dark"} tokensobjectdefault {}
curl -X POST https://api.loomieo.com/v1/themes \
-H " Authorization: Bearer $LUMIEO_KEY " \
-H " Content-Type: application/json " \
Response 200 Name Type Description themerequired object
Errors 400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope422: validation_failed429: rate_limitedDelete a theme DELETE /v1/themes/{id}
Delete a theme; sites using it as their default fall back to none
Parameters Name In Type Description idrequired path id
curl -X DELETE https://api.loomieo.com/v1/themes/:id \
-H " Authorization: Bearer $LUMIEO_KEY "
Response 200 Name Type Description themerequired object
Errors 401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: theme_not_found422: validation_failed429: rate_limitedOne theme, with its live experience count GET /v1/themes/{id}
Parameters Name In Type Description idrequired path id
curl -X GET https://api.loomieo.com/v1/themes/:id \
-H " Authorization: Bearer $LUMIEO_KEY "
Response 200 Name Type Description themerequired object
Errors 401: auth_unauthenticated403: forbidden404: theme_not_found422: validation_failed429: rate_limitedRename a theme, switch its preset or player style, or replace its token or behaviour overrides PATCH /v1/themes/{id}
Parameters Name In Type Description idrequired path id
Body Name Type Description behaviorobjectPlayer settings over the player style, by registry key (e.g. `controls.tap`). namestring1 to 120 characters playerStyle"auto" | "standard" | "swipe" | "loop" | "clip" | "story" | "watch"The player style: `auto` (match each widget's format: carousels and bubbles play Standard, stories play Story) or a named style. preset"minimal" | "bold" | "editorial" | "pulse" | "bloom" | "zest" | "theater" | "studio" | "glass"screenobjectHow screens draw this theme (docs/specs/screens.md §16): `scheme` (`dark`, the default, or `light`) and a `sale` colour (`#rrggbb`, or null for a red that reads). tokensobject
curl -X PATCH https://api.loomieo.com/v1/themes/:id \
-H " Authorization: Bearer $LUMIEO_KEY "
Response 200 Name Type Description themerequired object
Errors 400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: theme_not_found422: validation_failed429: rate_limited