List campaigns
Your WhatsApp campaigns, oldest first. Filter by status or by number.
Set up WhatsApp first. Connect a WhatsApp number in the dashboard or with Connect numbers. Included on every paid plan. See plans.
statusstring · enumShow only campaigns in this state.
phone_number_idintegerShow only campaigns on this number.
limitintegerRows per page.
cursorstringThe next_cursor from the previous page.
curl -X GET 'https://backend.omnidim.io/api/v1/whatsapp/campaigns?limit=20' \ -H 'Authorization: Bearer YOUR_API_KEY'
{ "data": [ { "id": 0, "name": "string", "status": "draft", "pause_reason": "human", "campaign_mode": "broadcast", "send_mode": "review", "data_source": "csv", "is_dynamic": false, "phone_number_id": 0, "template": { "id": 0, "name": "string" }, "agent_id": 0, "variable_mapping": "string", "counts": { "total": 0, "sent": 0, "delivered": 0, "read": 0, "replied": 0, "failed": 0, "skipped": 0, "opted_out": 0 }, "receipts_reported": false, "delivery_rate": 0, "read_rate": 0, "reply_rate": 0, "spend": { "amount": 0, "currency": "USD" }, "created_at": "string" } ], "has_more": false, "next_cursor": "string" }
BearerAuthAuthorizationBearer <token>Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
status?stringShow only campaigns in this state.
"draft""scheduled""in_progress""paused""completed""failed""cancelled"phone_number_id?integerShow only campaigns on this number.
limit?integerRows per page.
1 <= value <= 10020cursor?stringThe next_cursor from the previous page.
Response body
application/jsonOne page of campaigns.
application/jsondata?has_more?booleannext_cursor?stringLift a block
Lift a block you added, or a marketing block made in WhatsApp. The entry stays in the list with active: false. A customer's own STOP cannot be lifted over the API: only the customer lifting it in WhatsApp, or messaging you again, brings them back.
Create a campaign
Create a campaign as a draft. It sends nothing until you launch it. Add contacts and launch it in the next calls. Only an approved template can be used, so every campaign starts with one. Scheduling is not offered.
