Create campaign
Creates a draft campaign on any plan. senderConfig.sessionIds may name numbers that are not yet on a plan that includes Campaigns; launch checks the selection. It is refused with 403 bansafe_org_suspended while the team is suspended, 400 invalid_parameter when senderConfig.sessionIds is malformed, and 400 campaign_throughput_capped when a per-number cap is above its safety ceiling.
Requires campaigns:manage. Project tokens only access resources in their own project.
Authorizations
Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.
Body
Campaign name, trimmed before validation. Must not be blank.
Value constraints
1 - 200Required when using a team API key. Project tokens derive the project from the credential.
Value constraints
Identifier of the message template.
Value constraints
Audience in the same team whose members are copied when the campaign launches.
Value constraints
Structured sender config values for this management create platform campaign request.
Scheduled start time in Unix milliseconds.
Specifies send window for this management create platform campaign request.
Accepted alternatives
At most 1,000 recipients per request.
Value constraints
1000Ignored when inline recipients are provided; their stored count is authoritative.
Specifies composer blueprint for this management create platform campaign request.
Specifies messages array for this management create platform campaign request.
Specifies audience ref for this management create platform campaign request.
Specifies compliance config for this management create platform campaign request.
Specifies variants for this management create platform campaign request.
Specifies variant strategy for this management create platform campaign request.
Response
Success
Structured data carried by this object.