v1
latestOpenAPI 3.0.12026-07-243686491.1 MBThemes
Create a theme
Creates a new theme for the operator. Image fields accept base64-encoded data URLs (data:image/png;base64,...); supported MIME types are image/png, image/jpeg, image/svg+xml; maximum 4 MB per image. <br>Required scope: themes:write </br>Organization authorization: supported
post/api/v1/themes
Request body
Example request
{
"name": "Brand A",
"app_primary_color": "#1A1A1A",
"app_secondary_color": "#FFFFFF",
"portal_primary_color": "#1A1A1A",
"portal_secondary_color": "#FFFFFF",
"app_image": "data:image/png;base64,iVBORw0KGgo...",
"portal_image": "data:image/png;base64,iVBORw0KGgo...",
"portal_fav_icon": "data:image/png;base64,iVBORw0KGgo..."
}Response
Created theme
Example response
{
"id": 1,
"name": "Custom Theme",
"title": "Operator Custom Theme",
"primaryColor": "#FF5733",
"secondaryColor": "#FF5733",
"logoUrl": "https://example.com/logo.png",
"favIconUrl": "https://example.com/favicon.png",
"operator": {
"id": 1,
"identifier": "operator-1",
"themingEnabled": true
}
}