Skip to main content
POST
/
themes
/
add-projects
/
{themeId}
Add projects to theme
curl --request POST \
  --url https://api.kameleoon.com/themes/add-projects/{themeId} \
  --header 'Content-Type: application/json' \
  --data '[
  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.

Path Parameters

themeId
integer<int64>
required

The Id of the theme object

Body

application/json

Response

OK

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>[]