Schedule campaign
POST
https://api.flownally.com/v1/campaigns/{campaignId}:scheduleSchedules a draft campaign. Set sendAt to now to send immediately, or to a future
RFC 3339 timestamp. The campaign needs a segmentId, inboxId, and content first.
If-Match is optional.A segment larger than the inbox's WhatsApp account can still reach in 24 hours is refused
with 422 contacts_campaign_messaging_limit_exceeded. Dispatch checks the final audience
again and returns the campaign to draft with dispatchError when it no longer fits.
Authorization
Required scopes
- campaign:schedule
Allowed roles
- owner
- admin
Schedule a draft campaign.
Parameters
- Name
campaignId- Type
- path · string
- required
Campaign ID.- Name
If-Match- Type
- header · string
Optional. The campaign's currentETag. A stale value returns 412contacts_campaign_revision_mismatch.- Name
Idempotency-Key- Type
- header · string
Key you generate so a retried request isn't applied twice. Use a new key for each new request and the same key for each retry of it.
Body parameters
Send a application/json body. The body is required.
- Name
sendAt- Type
- string
- required
now, or an RFC 3339 timestamp in the future.
Responses
- 200Campaign scheduledapplication/json
- 412The supplied ETag is stale.application/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- OutboundMessageContent
- TextMessageContent
- TextContent
- MediaMessageContent
- Content
- TemplateMessageContent
- WhatsAppTemplateContent
- TemplateComponent
- TemplateParameter
- Parameter
- CurrencyParameter
- DateTimeParameter
- RichMessageContent
- RichMessage
- Card
- CardHeader
- CardBody
- CardFooter
- CardAction
- WhatsAppFlowAction
- WhatsAppMessageContent
- WhatsAppContent
- WhatsAppRequestContactInfoContent
- CampaignStatus
- Campaign
- ScheduleCampaignRequest
Generated from the API spec.