Skip to main content
POST
/
themes
Create a new theme
curl --request POST \
  --url https://api.kameleoon.com/themes \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectIds": [
    123
  ],
  "colors": [
    {
      "id": "<string>",
      "type": "COLOR",
      "value": "<string>"
    }
  ],
  "components": [
    "<string>"
  ],
  "customFonts": [
    {
      "fontFamily": "<string>",
      "fontSrc": "<string>",
      "fontWeights": [
        "<string>"
      ],
      "id": "<string>",
      "importSrc": "<string>"
    }
  ],
  "description": "<string>",
  "id": 123,
  "name": "<string>",
  "selectedFonts": [
    {
      "id": "<string>",
      "type": "DEFAULT"
    }
  ],
  "status": "ACTIVE",
  "tags": [
    "<string>"
  ],
  "widgetIds": [
    123
  ]
}
'
{
  "projectIds": [
    123
  ],
  "colors": [
    {
      "id": "<string>",
      "type": "COLOR",
      "value": "<string>"
    }
  ],
  "components": [
    "<string>"
  ],
  "creationDate": "2023-11-07T05:31:56Z",
  "customFonts": [
    {
      "fontFamily": "<string>",
      "fontSrc": "<string>",
      "fontWeights": [
        "<string>"
      ],
      "id": "<string>",
      "importSrc": "<string>"
    }
  ],
  "dateModified": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "id": 123,
  "name": "<string>",
  "selectedFonts": [
    {
      "id": "<string>",
      "type": "DEFAULT"
    }
  ],
  "status": "ACTIVE",
  "tags": [
    "<string>"
  ],
  "widgetIds": [
    123
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
projectIds
integer<int64>[]
required
colors
object[]
components
string[]
customFonts
object[]
description
string
id
integer<int64>
name
string
selectedFonts
object[]
status
enum<string>
Available options:
ACTIVE,
DRAFT,
PAUSED
tags
string[]
widgetIds
integer<int64>[]

Response

Created

projectIds
integer<int64>[]
required
colors
object[]
components
string[]
creationDate
string<date-time>
read-only
customFonts
object[]
dateModified
string<date-time>
read-only
description
string
id
integer<int64>
name
string
selectedFonts
object[]
status
enum<string>
Available options:
ACTIVE,
DRAFT,
PAUSED
tags
string[]
widgetIds
integer<int64>[]