Launch campaign
Starts a draft campaign. It begins sending at scheduledAt, or right away when no start time is set. Launch checks the stored sender selection against live plans: 402 campaigns_not_entitled when a selected number is missing or its plan does not include Campaigns, or when an unselected campaign’s project has no such number; 400 invalid_parameter on senderConfig.sessionIds when a selected number is not connected or the selection mixes sending types; 400 campaign_throughput_capped when a requested throughput is above its ceiling. 409 means the campaign is not a draft, is already launched and waiting for its start time, or its sending numbers changed during the launch.
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.
Headers
Optional unique key, 1 to 255 bytes, that makes this request safe to retry for 24 hours. A retry with the same key, credential, Polymorfa-Version and request never runs it again: it returns 409 idempotency_completed when the original succeeded, or the original server error. Reusing the key for a different request returns 409 idempotency_conflict; a retry while the original is still running returns 409 idempotency_in_progress, and a retry after an unrecorded outcome returns 409 idempotency_outcome_unknown.
Value constraints
1 - 255Path Parameters
Identifier for the campaign.
Body
The body is of type object.
Response
Success
Structured data carried by this object.