Skip to main content
POST
/
campaigns
/
{id}
/
schedule
Schedule campaign send
curl --request POST \
  --url https://{appId}.api-{region}.cometchat.io/v3/campaigns/campaigns/{id}/schedule \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --header 'appid: <appid>' \
  --data '
{
  "scheduledAt": 1714000000
}
'

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
scheduledAt
number
required

Scheduled send time as Unix timestamp (seconds)

Example:

1714000000

Response

Campaign scheduled