Skip to main content
PUT
/
templates
/
{id}
Update template metadata (admin only)
curl --request PUT \
  --url https://{appId}.api-{region}.cometchat.io/v3/campaigns/templates/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'appid: <appid>' \
  --data '
{
  "name": "<string>",
  "templateCategory": "<string>",
  "label": "<string>",
  "alternativeText": "<string>",
  "tags": [
    "<string>"
  ],
  "status": "<string>",
  "variableSchema": [
    "<string>"
  ],
  "config": {}
}
'

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-docs-campaigns-service-rest-api.mintlify.app/llms.txt

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

Authorizations

Authorization
string
header
required

Service-to-service basic auth

Headers

appid
string
required

Tenant application ID

Path Parameters

id
string
required

Body

application/json
name
string
templateCategory
string
label
string

Display label shown on notification

alternativeText
string

Plain-text fallback when push is suppressed or rich content cannot render. Sendbird-parity field.

tags
string[]

First-class tags for filtering/segmentation

status
string
variableSchema
string[]
config
object

Response

Template updated