POST
/
v1
/
campaigns

Headers

Api-Key
string
required

Private key to access the API.

Body

application/json

Schema representing campaign create request data.

message
object
required

Campaign message details.

name
string
required

Name of the campaign

schedule
object
required

Campaign start schedule

segment
object
required

Segment of users for whom campaign is being run

externalId
string

Optional external id assigned to the campaign. Used to ensure idempotency, to prevent same campaign from being created more than once. Max length of 256 chars

Response

200 - application/json

A standard response for successful campaign creation.

uuid
string

UUID of the created campaign