Create a campaign
Created as a draft: check it (GET /campaigns/{id}/checks) and launch it (POST /campaigns/{id}/launch).
Autorisations
Corps
On update, only the fields given change. A scheduled or running campaign cannot be edited: pause it first.
whatsapp: { template_id, variables: { name: { source, value?, fallback? } }, buttons?: { index: value }, header_url? } (source: field:firstname|lastname|name|email|phone|address|identifier, column:<key> of the imported file, or text with value); an automatic campaign may send { text } instead. mail: { subject, html }. Texts accept @firstname, @<column> and @{key|fallback}.
Réponse
Always HTTP 200: the outcome is in success and code (absolute value of the response code).