Create campaign
POST
https://api.flownally.com/v1/campaignsCreates a draft campaign with a name. Set its segment, inbox, and content with
PATCH /campaigns/{campaignId}, then schedule it.
Authorization
Required scopes
- campaign:create
Allowed roles
- owner
- admin
Create a draft campaign.
Body parameters
Send a application/json body. The body is required.
- Name
name- Type
- string
- required
Responses
- 201Campaign createdapplication/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
- CreateCampaignRequest
Generated from the API spec.