Skip to main content
PUT
/
channels
/
{id}
Update a channel (admin only)
curl --request PUT \
  --url https://{appId}.api-{region}.cometchat.io/v3/campaigns/channels/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'appid: <appid>' \
  --data '
{
  "name": "<string>",
  "enabled": true,
  "metadata": {
    "apiKey": "xxx",
    "senderId": "yyy"
  }
}
'

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

Channel display name

enabled
boolean

Whether the channel is enabled

metadata
object

Channel-specific metadata

Example:
{ "apiKey": "xxx", "senderId": "yyy" }

Response

Channel updated