Skip to main content
POST
Campaigns API
Prerequisites: Campaigns require an approved template (you pass its template_id) and either contact tags or explicit contact IDs as the audience. See Templates API and Contacts API.
Base URL: https://api.vobiz.ai/api/v1/messaging Authentication: Every request requires X-Auth-ID: MA_XXXXXXXX and X-Auth-Token: <token> headers (a Bearer JWT is also accepted). Set Content-Type: application/json on requests with a body. Get your credentials from console.vobiz.ai.
string
required
Your Vobiz account ID, for example MA_XXXXXXXX.

Campaign lifecycle

draftscheduledsendingpausedcompleted / cancelled / failed

List campaigns

Returns a paginated list of campaigns with status, delivery counts, and scheduling details. Filter with the status query parameter.
cURL
200 OK

Create campaign

Create a new campaign. Reference an approved template by its template_id (a UUID, not a template name). Choose the audience with audience_type: use tags plus audience_tags, or contact_ids plus audience_contact_ids. Set scheduled_at for a future send, or omit it to send immediately.

Request body

string
required
Channel (UUID) to send from.
string
required
Campaign display name.
string
required
UUID of an approved template.
object[]
required
Meta component structure for the template.
string
required
Either tags or contact_ids.
string[]
Array of contact tags. Required when audience_type is tags.
string[]
Array of contact IDs. Required when audience_type is contact_ids.
object
Object mapping template variables to contact fields.
object
Per-recipient values, shaped as { "<contact_id>": { "<key>": "<value>" } }.
string
RFC3339 datetime (UTC) for a scheduled send.
cURL
201 Created

Get campaign

Returns full details and delivery statistics for a specific campaign.
cURL

Campaign actions

Control campaign execution. All three use POST with no request body and return the updated Campaign.
cURL - pause

Delete campaign

Permanently delete a campaign. Returns 204 No Content.
cURL
204 No Content

List campaign recipients

Returns a paginated, per-contact delivery status. Use it to audit delivery rates or identify failed recipients. Filter with status and page with page / limit.
cURL
200 OK

Campaign object

Campaign recipient object