Create a new campaign
Campaigns
Create a new campaign
Create a new campaign.
POST
Create a new campaign
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
Your CometChat REST API Key.
Headers
Tenant application ID
Body
application/json
Campaign name
Template ID (CUID or templateId slug)
Template version number to pin
Required range:
x >= 1Campaign-level default variables — applied to every recipient as a fallback layer below per-user CSV values and above template variableSchema defaults. Example: { "promoCode": "SUMMER25", "supportEmail": "help@acme.io" }.
Example:
{ "promoCode": "SUMMER25" }Additional campaign configuration (free-form)
Response
201
Campaign created