Endpoint
Important — how to get instanceId
instanceId is required to create a campaign.
To get it:
- call
GET /api/v1/instances - choose an instance with
status = "connected"when possible - copy
data[n].id - send this value in
instanceId
namewaNumber
Body
Content rule
A campaign must have exactly one content mode:- soit
templateId - soit
type+ contenu direct
recipients
Success response 201
In V1,
safety.decision is allow or warn. A warning does not prevent campaign creation.