Outbound · Campaigns
Create a campaign
Creates a campaign in draft with its channel, content and audience source. SMS and email campaigns need template (email also emailSubject) and WhatsApp campaigns need whatsappTemplate, unless a saved template given in templateId provides them (templates without content still require template, see templateId). Nothing is sent yet: next, load the recipients (see Campaign recipients) and then send or schedule it. The campaign belongs to the app in X-App-UUID: an appUUID in the body that differs answers 403, and a templateId of another app answers 400 (Template not found).