Send Campaign

Schedule or send a campaign immediately.

MethodPOST
/api/v2/campaigns/:campaignId/send

Schedules a draft or sends it immediately. No date sends immediately. Maps to schedule_campaign. Permission: send.

The campaign must be DRAFT and must contain an unsubscribe link.

Path Parameters

NameTypeDescription
campaignIdstringRequired. Campaign id.

Body Parameters

NameTypeDescription
scheduledAtstringOptional ISO 8601 send time. Omit to send immediately.
timezonestringIANA timezone for the schedule. Default Europe/Paris.

Response Fields

FieldTypeDescription
idstringCampaign id.
campaignIdstringSame campaign id when the worker echoes it.
subjectstringSubject line.
statusstringSCHEDULED after accept. Immediate sends stay SCHEDULED until the worker starts.
scheduledAtstringISO 8601 scheduled time.
timezonestringSchedule timezone when provided.
recipientCountintegerRecipients at schedule time.

Errors

StatusnameWhen
401missing_api_keyMissing or invalid bearer token
403missing_permissionToken lacks the send permission
404not_foundUnknown campaign id
400validation_errorMissing unsubscribe link, not a draft, or past scheduledAt