Skip to main content
POST
/
templates
/
categories
Create a new template category
curl --request POST \
  --url https://{appId}.api-{region}.cometchat.io/v3/campaigns/templates/categories \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --header 'appid: <appid>' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'

Documentation Index

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

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

Authorizations

apikey
string
header
required

Your CometChat REST API Key.

Headers

appid
string
required

Tenant application ID

Body

application/json
name
string
required

Category name

description
string

Category description

Response

Category created