Skip to main content

Endpoint

Authentication: x-api-key: <api_key>
Campaigns require the Starter plan or higher.

Main business rule

A campaign must include actual content to send. Vous devez fournir :
  • name
  • instanceId
  • schedule
  • recipients
Et exactement un mode de contenu :
  • soit templateId
  • soit un message direct avec type + contenu associé
Creating an empty campaign is not allowed.

Mode 1 — Template campaign

Mode 2 — Direct text campaign

Mode 3 — Direct media campaign


Recipients

For tags, at least one tag is required. For explicit, at least one contact is required.

Types directs supportés


Response à la création

The response can include a safety block with decision, riskLevel, reasons, and recommendations. In V1, this guidance does not block the campaign.

Campaign statuses

A campaign now automatically moves to completed when no queued messages remain.

Pauser et reprendre

These actions are valid only for compatible statuses. resume can also return a safety block if the instance is still warming up or if the audience is riskier than recommended.

Parameters path


Statistiques

Parameters path

Sens des compteurs


Retrieve a campaign

Parameters path

Common errors