Skip to main content
POST
/
v1
/
brands
/
{brandId}
/
topics
Create topics
curl --request POST \
  --url https://api.example.com/v1/brands/{brandId}/topics \
  --header 'Content-Type: application/json' \
  --data '
{
  "topics": [
    {}
  ]
}
'
Creates topics without adding prompts. Use this to first scaffold the topic structure, then add prompts via Create prompts or Batch create.

Path parameters

brandId
string
required
Brand UUID. Obtain from List brands.

Request body

topics
object[]
required

Request

curl -s -X POST \
  -H "x-spotlight-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "topics": [{ "name": "Pricing" }, { "name": "Support" }] }' \
  "https://app.get-spotlight.com/api/v1/brands/BRAND_ID/topics"

Response

{
  "topics": [
    { "id": "topic-uuid-1", "name": "Pricing" },
    { "id": "topic-uuid-2", "name": "Support" }
  ]
}