AI Email Marketing
Campaigns
Create campaigns, change their content and schedule, add leads, and launch, pause or resume them. A new campaign starts as a draft.
/v1/campaignsList campaigns
POST/v1/campaignsCreate a campaign
GET/v1/campaigns/{id}Get a campaign
PATCH/v1/campaigns/{id}Update a campaign
POST/v1/campaigns/{id}/launchLaunch a campaign
POST/v1/campaigns/{id}/pausePause a campaign
POST/v1/campaigns/{id}/resumeResume a campaign
DEL/v1/campaigns/{id}Delete a campaign
GET/v1/campaigns/{id}/leadsList campaign recipients
POST/v1/campaigns/{id}/leadsAdd leads to a campaign
DEL/v1/campaigns/{id}/leads/{leadId}Remove a recipient
GET/v1/campaigns/{id}/statsGet campaign stats
GET/v1/campaigns/{id}/stepsGet the sequence
PUT/v1/campaigns/{id}/stepsSet the sequence
List campaigns
/api/v1/campaignsCampaigns, newest first.
Any API key, read-only included.
Parameters
| Name | Type | Description |
|---|---|---|
status query |
string | draft, active, paused or completed. |
per_page query |
integer | Results per page, up to 100. Default 25. |
page query |
integer | Page number. |
Errors
401Missing or invalid key422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl https://app.zicreach.com/api/v1/campaigns \
-H "Authorization: Bearer zk_your_key"
{
"data": [
{
"id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
"name": "Q4 founders",
"status": "draft",
"campaign_type": "standard",
"schedule_type": "immediate",
"scheduled_at": null,
"subject_lines": [
"Quick question, {{first_name|there}}"
],
"email_bodies": [
"Hi {{first_name|there}},\n\nNoticed {{company}} is hiring..."
],
"send_window": {
"start": "09:00",
"end": "17:00",
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"timezone": "Europe/London"
},
"follow_up": {
"enabled": true,
"delay_days": 3,
"max": 3
},
"stop_on_reply": true,
"tracking": {
"opens": false,
"clicks": false,
"text_only": true
},
"stats": {
"total_leads": 240,
"sent": 0,
"opened": 0,
"clicked": 0,
"replied": 0,
"bounced": 0
},
"created_at": "2026-09-20T08:00:00Z"
}
],
"meta": {
"current_page": 1,
"last_page": 1,
"total": 1
}
}
Create a campaign
/api/v1/campaignsCreates a draft campaign. Everything except name, subject_lines and email_bodies is optional.
Needs a read and write API key.
Body
| Name | Type | Description |
|---|---|---|
namerequired |
string | Campaign name. |
subject_linesrequired |
string[] | One to five subject lines. More than one is an A/B test. |
email_bodiesrequired |
string[] | One body for all subject lines, or one per subject line. Merge fields like {{first_name|there}} work. |
timezone |
string | IANA timezone, for example Europe/London. |
send_days |
string[] | Any of mon, tue, wed, thu, fri, sat, sun. |
send_window_start |
string | HH:MM in the campaign timezone. |
send_window_end |
string | HH:MM in the campaign timezone. |
delay_between_emails |
integer | Seconds between two emails of the campaign, from any of its mailboxes, 1 to 300. |
follow_up_enabled |
boolean | Send follow-ups. |
follow_up_delay_days |
integer | Days between follow-ups, 1 to 60. |
max_follow_ups |
integer | At most this many follow-ups, 0 to 5. |
track_opens |
boolean | Track opens. Turns text_only off. |
track_clicks |
boolean | Track link clicks. Turns text_only off. |
text_only |
boolean | Send plain text only. Turns tracking off. If both are sent on, tracking wins. |
email_account_ids |
uuid[] | Mailboxes to send from. |
Errors
401Missing or invalid key403Read-only key used for a change, or a key made by someone who is no longer an owner or admin422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl -X POST https://app.zicreach.com/api/v1/campaigns \
-H "Authorization: Bearer zk_your_key" \
-H "Content-Type: application/json" \
-d '{"name":"Q4 founders","subject_lines":["Quick question, {{first_name|there}}"],"email_bodies":["Hi {{first_name|there}}, ..."],"timezone":"Europe/London","send_days":["mon","tue","wed","thu","fri"]}'
{
"data": {
"id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
"name": "Q4 founders",
"status": "draft",
"campaign_type": "standard",
"schedule_type": "immediate",
"scheduled_at": null,
"subject_lines": [
"Quick question, {{first_name|there}}"
],
"email_bodies": [
"Hi {{first_name|there}},\n\nNoticed {{company}} is hiring..."
],
"send_window": {
"start": "09:00",
"end": "17:00",
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"timezone": "Europe/London"
},
"follow_up": {
"enabled": true,
"delay_days": 3,
"max": 3
},
"stop_on_reply": true,
"tracking": {
"opens": false,
"clicks": false,
"text_only": true
},
"stats": {
"total_leads": 240,
"sent": 0,
"opened": 0,
"clicked": 0,
"replied": 0,
"bounced": 0
},
"created_at": "2026-09-20T08:00:00Z"
}
}
Get a campaign
/api/v1/campaigns/{id}One campaign with its settings and running totals.
Any API key, read-only included.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired path |
uuid | Campaign id. |
Errors
401Missing or invalid key404Not found in this workspace422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl https://app.zicreach.com/api/v1/campaigns/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
-H "Authorization: Bearer zk_your_key"
{
"data": {
"id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
"name": "Q4 founders",
"status": "draft",
"campaign_type": "standard",
"schedule_type": "immediate",
"scheduled_at": null,
"subject_lines": [
"Quick question, {{first_name|there}}"
],
"email_bodies": [
"Hi {{first_name|there}},\n\nNoticed {{company}} is hiring..."
],
"send_window": {
"start": "09:00",
"end": "17:00",
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"timezone": "Europe/London"
},
"follow_up": {
"enabled": true,
"delay_days": 3,
"max": 3
},
"stop_on_reply": true,
"tracking": {
"opens": false,
"clicks": false,
"text_only": true
},
"stats": {
"total_leads": 240,
"sent": 0,
"opened": 0,
"clicked": 0,
"replied": 0,
"bounced": 0
},
"created_at": "2026-09-20T08:00:00Z"
}
}
Update a campaign
/api/v1/campaigns/{id}Send only the fields to change. Accepts the same fields as create.
Needs a read and write API key.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired path |
uuid | Campaign id. |
Body
| Name | Type | Description |
|---|---|---|
name |
string | Campaign name. |
subject_lines |
string[] | Replaces the subject lines. |
email_bodies |
string[] | Replaces the bodies. |
send_window_start |
string | HH:MM. |
send_window_end |
string | HH:MM. |
Errors
401Missing or invalid key403Read-only key used for a change, or a key made by someone who is no longer an owner or admin404Not found in this workspace422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl -X PATCH https://app.zicreach.com/api/v1/campaigns/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
-H "Authorization: Bearer zk_your_key" \
-H "Content-Type: application/json" \
-d '{"name":"Q4 founders","subject_lines":["Quick question, {{first_name|there}}"]}'
{
"data": {
"id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
"name": "Q4 founders",
"status": "draft",
"campaign_type": "standard",
"schedule_type": "immediate",
"scheduled_at": null,
"subject_lines": [
"Quick question, {{first_name|there}}"
],
"email_bodies": [
"Hi {{first_name|there}},\n\nNoticed {{company}} is hiring..."
],
"send_window": {
"start": "09:00",
"end": "17:00",
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"timezone": "Europe/London"
},
"follow_up": {
"enabled": true,
"delay_days": 3,
"max": 3
},
"stop_on_reply": true,
"tracking": {
"opens": false,
"clicks": false,
"text_only": true
},
"stats": {
"total_leads": 240,
"sent": 0,
"opened": 0,
"clicked": 0,
"replied": 0,
"bounced": 0
},
"created_at": "2026-09-20T08:00:00Z"
}
}
Launch a campaign
/api/v1/campaigns/{id}/launchStarts sending. Refused with 422 and a list of blockers when the campaign is not ready (no recipients, no mailbox, no credits).
Needs a read and write API key.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired path |
uuid | Campaign id. |
Errors
401Missing or invalid key403Read-only key used for a change, or a key made by someone who is no longer an owner or admin404Not found in this workspace422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl -X POST https://app.zicreach.com/api/v1/campaigns/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10/launch \
-H "Authorization: Bearer zk_your_key"
{
"message": "Campaign launched.",
"data": {
"id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
"name": "Q4 founders",
"status": "active",
"campaign_type": "standard",
"schedule_type": "immediate",
"scheduled_at": null,
"subject_lines": [
"Quick question, {{first_name|there}}"
],
"email_bodies": [
"Hi {{first_name|there}},\n\nNoticed {{company}} is hiring..."
],
"send_window": {
"start": "09:00",
"end": "17:00",
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"timezone": "Europe/London"
},
"follow_up": {
"enabled": true,
"delay_days": 3,
"max": 3
},
"stop_on_reply": true,
"tracking": {
"opens": false,
"clicks": false,
"text_only": true
},
"stats": {
"total_leads": 240,
"sent": 0,
"opened": 0,
"clicked": 0,
"replied": 0,
"bounced": 0
},
"created_at": "2026-09-20T08:00:00Z"
}
}
Pause a campaign
/api/v1/campaigns/{id}/pauseStops sending until resumed. Nothing is lost.
Needs a read and write API key.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired path |
uuid | Campaign id. |
Errors
401Missing or invalid key403Read-only key used for a change, or a key made by someone who is no longer an owner or admin404Not found in this workspace422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl -X POST https://app.zicreach.com/api/v1/campaigns/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10/pause \
-H "Authorization: Bearer zk_your_key"
{
"message": "Campaign paused.",
"data": {
"id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
"name": "Q4 founders",
"status": "paused",
"campaign_type": "standard",
"schedule_type": "immediate",
"scheduled_at": null,
"subject_lines": [
"Quick question, {{first_name|there}}"
],
"email_bodies": [
"Hi {{first_name|there}},\n\nNoticed {{company}} is hiring..."
],
"send_window": {
"start": "09:00",
"end": "17:00",
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"timezone": "Europe/London"
},
"follow_up": {
"enabled": true,
"delay_days": 3,
"max": 3
},
"stop_on_reply": true,
"tracking": {
"opens": false,
"clicks": false,
"text_only": true
},
"stats": {
"total_leads": 240,
"sent": 0,
"opened": 0,
"clicked": 0,
"replied": 0,
"bounced": 0
},
"created_at": "2026-09-20T08:00:00Z"
}
}
Resume a campaign
/api/v1/campaigns/{id}/resumeContinues a paused campaign.
Needs a read and write API key.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired path |
uuid | Campaign id. |
Errors
401Missing or invalid key403Read-only key used for a change, or a key made by someone who is no longer an owner or admin404Not found in this workspace422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl -X POST https://app.zicreach.com/api/v1/campaigns/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10/resume \
-H "Authorization: Bearer zk_your_key"
{
"message": "Campaign resumed.",
"data": {
"id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
"name": "Q4 founders",
"status": "active",
"campaign_type": "standard",
"schedule_type": "immediate",
"scheduled_at": null,
"subject_lines": [
"Quick question, {{first_name|there}}"
],
"email_bodies": [
"Hi {{first_name|there}},\n\nNoticed {{company}} is hiring..."
],
"send_window": {
"start": "09:00",
"end": "17:00",
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"timezone": "Europe/London"
},
"follow_up": {
"enabled": true,
"delay_days": 3,
"max": 3
},
"stop_on_reply": true,
"tracking": {
"opens": false,
"clicks": false,
"text_only": true
},
"stats": {
"total_leads": 240,
"sent": 0,
"opened": 0,
"clicked": 0,
"replied": 0,
"bounced": 0
},
"created_at": "2026-09-20T08:00:00Z"
}
}
Delete a campaign
/api/v1/campaigns/{id}Moves the campaign to the Trash, as the Delete button does: it is paused, keeps its recipients and their history, and can be restored in the app for 30 days, after which it is deleted for good. A campaign that has sent email can only be deleted with a key made by an owner or admin (403 otherwise).
Needs a read and write API key.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired path |
uuid | Campaign id. |
Errors
401Missing or invalid key403Read-only key used for a change, or a key made by someone who is no longer an owner or admin404Not found in this workspace422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl -X DELETE https://app.zicreach.com/api/v1/campaigns/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
-H "Authorization: Bearer zk_your_key"
{
"message": "Campaign moved to Trash. It can be restored in the app for 30 days."
}
List campaign recipients
/api/v1/campaigns/{id}/leadsRecipients and where each one is in the sequence, including recipients moved to the archive (listed after the others). If an archived recipient is put back while you page through (a reply or a click brings them back), the total stays the same but that one recipient can move from a later page to an earlier one: list again to be sure of a full set.
Any API key, read-only included.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired path |
uuid | Campaign id. |
status query |
string | pending, active, sent, replied, bounced, unsubscribed or completed. |
per_page query |
integer | Up to 200. Default 50. |
Errors
401Missing or invalid key404Not found in this workspace422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl https://app.zicreach.com/api/v1/campaigns/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10/leads \
-H "Authorization: Bearer zk_your_key"
{
"data": [
{
"id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
"email": "jane@example.com",
"first_name": "Jane",
"last_name": "Doe",
"company": "Example Ltd",
"status": "active",
"current_step": 1,
"last_sent_at": "2026-09-22T09:14:00Z",
"opened_at": null,
"clicked_at": null,
"replied_at": null,
"bounced_at": null
}
],
"meta": {
"current_page": 1,
"last_page": 1,
"total": 1
}
}
Add leads to a campaign
/api/v1/campaigns/{id}/leadsAdds a whole list (optionally filtered) or specific leads. Suppressed addresses, duplicates, people who unsubscribed from an earlier campaign (unsubscribed) and people contacted too recently (cooling) are skipped.
Needs a read and write API key.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired path |
uuid | Campaign id. |
Body
| Name | Type | Description |
|---|---|---|
list_id |
uuid | Add the leads of this list. Required unless lead_ids is sent. |
lead_ids |
uuid[] | Add these leads, up to 1,000. Required unless list_id is sent. |
company |
string | With list_id: only leads at this company. |
industry |
string | With list_id: only this industry. |
job_title |
string | With list_id: only titles containing this. |
location |
string | With list_id: only this location. |
Errors
401Missing or invalid key403Read-only key used for a change, or a key made by someone who is no longer an owner or admin404Not found in this workspace422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl -X POST https://app.zicreach.com/api/v1/campaigns/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10/leads \
-H "Authorization: Bearer zk_your_key" \
-H "Content-Type: application/json" \
-d '{"list_id":"9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10"}'
{
"data": {
"added": 240,
"skipped": 12,
"unsubscribed": 1,
"cooling": 3,
"total_recipients": 240
}
}
Remove a recipient
/api/v1/campaigns/{id}/leads/{leadId}Takes one recipient (an id from List campaign recipients) off the campaign, as the campaign Leads page does. Someone not emailed yet is removed; someone already emailed is marked removed and gets nothing more, so the results stay true.
Needs a read and write API key.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired path |
uuid | Campaign id. |
leadIdrequired path |
uuid | Recipient id from List campaign recipients. |
Errors
401Missing or invalid key403Read-only key used for a change, or a key made by someone who is no longer an owner or admin404Not found in this workspace422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl -X DELETE https://app.zicreach.com/api/v1/campaigns/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10/leads/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
-H "Authorization: Bearer zk_your_key"
{
"message": "Lead removed from the campaign.",
"data": {
"total_recipients": 239
}
}
Get campaign stats
/api/v1/campaigns/{id}/statsTotals, rates, A/B variants and the last 14 days of sends for one campaign.
Any API key, read-only included.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired path |
uuid | Campaign id. |
Errors
401Missing or invalid key404Not found in this workspace422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl https://app.zicreach.com/api/v1/campaigns/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10/stats \
-H "Authorization: Bearer zk_your_key"
{
"data": {
"campaign": {
"id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
"name": "Q4 founders",
"status": "active"
},
"totals": {
"recipients": 240,
"sent": 212,
"delivered": 209,
"opened": 71,
"clicked": 8,
"replied": 6,
"bounced": 3,
"unsubscribed": 1,
"pending": 28,
"failed": 0
},
"rates": {
"open": 34,
"click": 3.8,
"reply": 2.9,
"bounce": 1.4,
"unsubscribe": 0.5,
"progress": 88.3
},
"variants": [
{
"index": 0,
"subject": "Quick question, {{first_name|there}}",
"sent": 212,
"replied": 6,
"reply_rate": 2.9
}
],
"daily": [
{
"date": "2026-09-24",
"sent": 40
}
]
}
}
Get the sequence
/api/v1/campaigns/{id}/stepsEvery email of the sequence in order: subject lines, bodies, the wait in days after the previous email, the condition and a content quality score. Step 1 is the campaign's first email.
Any API key, read-only included.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired path |
uuid | Campaign id. |
Errors
401Missing or invalid key404Not found in this workspace422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl https://app.zicreach.com/api/v1/campaigns/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10/steps \
-H "Authorization: Bearer zk_your_key"
{
"data": [
{
"id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
"step": 1,
"name": "First touch",
"subject_lines": [
"Quick question, {{first_name|there}}"
],
"email_bodies": [
"Hi {{first_name|there}}, ..."
],
"delay_days": 0,
"condition": "always",
"same_thread": false,
"active": true,
"ai_written": false,
"quality": {
"score": 86,
"level": "good"
}
},
{
"id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
"step": 2,
"name": "Follow-up 1",
"subject_lines": [
"Re: Quick question"
],
"email_bodies": [
"Just bringing this up again."
],
"delay_days": 3,
"condition": "always",
"same_thread": true,
"active": true,
"ai_written": false,
"quality": {
"score": 80,
"level": "good"
}
}
]
}
Set the sequence
/api/v1/campaigns/{id}/stepsReplaces the whole sequence, at most 10 emails. Step 1 also becomes the campaign's subject_lines and email_bodies. Steps beyond the ones sent are removed (keys made by an owner or admin only). Every step sent is switched on and sends exactly the text given.
Needs a read and write API key.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired path |
uuid | Campaign id. |
Body
| Name | Type | Description |
|---|---|---|
stepsrequired |
object[] | The emails in order. Each: subject (or subject_lines[]), body (or email_bodies[]), delay_days (follow-ups, 1 to 90, default 3), condition (default always; also no_engagement, clicked, not_opened, opened_no_reply, not_clicked), same_thread (follow-ups, default true). |
Errors
401Missing or invalid key403Read-only key used for a change, or a key made by someone who is no longer an owner or admin404Not found in this workspace422Invalid input, or not ready; the body has message and an errors object, one entry per field429More than 120 requests a minute
curl -X PUT https://app.zicreach.com/api/v1/campaigns/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10/steps \
-H "Authorization: Bearer zk_your_key" \
-H "Content-Type: application/json" \
-d '{"steps":[{"subject":"Quick question, {{first_name|there}}","body":"Hi {{first_name|there}}, ..."},{"subject":"Re: Quick question","body":"Just bringing this up again.","delay_days":3}]}'
{
"message": "Sequence saved with 2 email(s).",
"data": [
{
"id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
"step": 1,
"name": "First touch",
"subject_lines": [
"Quick question, {{first_name|there}}"
],
"email_bodies": [
"Hi {{first_name|there}}, ..."
],
"delay_days": 0,
"condition": "always",
"same_thread": false,
"active": true,
"ai_written": false,
"quality": {
"score": 86,
"level": "good"
}
},
{
"id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
"step": 2,
"name": "Follow-up 1",
"subject_lines": [
"Re: Quick question"
],
"email_bodies": [
"Just bringing this up again."
],
"delay_days": 3,
"condition": "always",
"same_thread": true,
"active": true,
"ai_written": false,
"quality": {
"score": 80,
"level": "good"
}
}
]
}