Skip to main content
PUT
/
campaigns
/
{id}
Update a campaign (draft only)
curl --request PUT \
  --url https://{appId}.api-{region}.cometchat.io/v3/campaigns/campaigns/{id} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --header 'appid: <appid>' \
  --data '
{
  "name": "<string>",
  "config": {}
}
'

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

Path Parameters

id
string
required

Body

application/json
name
string

Campaign name

config
object

Additional campaign configuration

Response

Campaign updated