Skip to content

AI Email Marketing

CRM

CRM contacts, companies and tasks, with the same rules as the CRM pages. A contact is a lead row: deleting one moves it to Trash, where it can be restored. Deleting a company keeps its contacts and deals. Companies and tasks someone else added are deleted with a key made by an owner or admin.

List contacts

GET/api/v1/crm/contacts

Contacts, newest first.

Any API key, read-only included.

Parameters

NameTypeDescription
q query string Name, company or job title, or a whole email address.
list_id query uuid Only this list.
owner_id query uuid Only contacts this member owns.
company_id query uuid Only contacts of this CRM company.
lifecycle query string Lifecycle stage: lead, qualified, opportunity, customer, former, other.
tag query string Only contacts with this tag.
per_page query integer Up to 100. Default 25.

Errors

  • 401Missing or invalid key
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl https://app.zicreach.com/api/v1/crm/contacts \
  -H "Authorization: Bearer zk_your_key"
Response200
{
    "data": [
        {
            "id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
            "first_name": "Jane",
            "last_name": "Doe",
            "email": "jane@example.com",
            "phone": null,
            "company": "Example Ltd",
            "job_title": "Founder",
            "location": "London",
            "website": "example.com",
            "linkedin_url": null,
            "list_id": null,
            "owner_id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
            "tags": [
                "vip"
            ],
            "lifecycle_stage": "lead",
            "lead_source": "website",
            "company_id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
            "custom": {
                "plan": "Pro"
            },
            "created_at": "2026-10-01T09:00:00Z"
        }
    ],
    "meta": {
        "current_page": 1,
        "last_page": 1,
        "total": 1
    }
}

Create a contact

POST/api/v1/crm/contacts

As the New contact form. An address already a contact in the same list is refused (422). A company name links or creates the CRM company. Starts the contact created automations.

Needs a read and write API key.

Body

NameTypeDescription
first_namerequired string First name.
last_name string Last name.
email string Email address.
phone string Phone.
company string Company name.
job_title string Job title.
list_id uuid A list to put the contact in.
owner_id uuid The member who owns it. Default: the key's creator.
lifecycle_stage string Lifecycle stage. Default lead.
lead_source string Where they came from.

Errors

  • 401Missing or invalid key
  • 403Read-only key used for a change, or a key made by someone who is no longer an owner or admin
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl -X POST https://app.zicreach.com/api/v1/crm/contacts \
  -H "Authorization: Bearer zk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"first_name":"Jane","last_name":"Doe","email":"jane@example.com"}'
Response201
{
    "message": "Contact added.",
    "data": {
        "id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "first_name": "Jane",
        "last_name": "Doe",
        "email": "jane@example.com",
        "phone": null,
        "company": "Example Ltd",
        "job_title": "Founder",
        "location": "London",
        "website": "example.com",
        "linkedin_url": null,
        "list_id": null,
        "owner_id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
        "tags": [
            "vip"
        ],
        "lifecycle_stage": "lead",
        "lead_source": "website",
        "company_id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
        "custom": {
            "plan": "Pro"
        },
        "created_at": "2026-10-01T09:00:00Z"
    }
}

Get a contact

GET/api/v1/crm/contacts/{id}

One contact with its CRM profile and custom fields.

Any API key, read-only included.

Parameters

NameTypeDescription
idrequired path uuid Contact id.

Errors

  • 401Missing or invalid key
  • 404Not found in this workspace
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl https://app.zicreach.com/api/v1/crm/contacts/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
  -H "Authorization: Bearer zk_your_key"
Response200
{
    "data": {
        "id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "first_name": "Jane",
        "last_name": "Doe",
        "email": "jane@example.com",
        "phone": null,
        "company": "Example Ltd",
        "job_title": "Founder",
        "location": "London",
        "website": "example.com",
        "linkedin_url": null,
        "list_id": null,
        "owner_id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
        "tags": [
            "vip"
        ],
        "lifecycle_stage": "lead",
        "lead_source": "website",
        "company_id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
        "custom": {
            "plan": "Pro"
        },
        "created_at": "2026-10-01T09:00:00Z"
    }
}

Update a contact

PATCH/api/v1/crm/contacts/{id}

As the contact profile form. Send only what changes.

Needs a read and write API key.

Parameters

NameTypeDescription
idrequired path uuid Contact id.

Body

NameTypeDescription
first_name string First name.
last_name string Last name.
email string Email address.
phone string Phone.
company string Company name.
job_title string Job title.
location string Location.
website string Website.
linkedin_url string LinkedIn profile.
owner_id uuid The member who owns it, or null.
company_id uuid The CRM company, or null.
lifecycle_stage string Lifecycle stage.
lead_source string Where they came from.
tags string Tags, comma separated. Replaces the tags.
custom object Custom field values by field key.

Errors

  • 401Missing or invalid key
  • 403Read-only key used for a change, or a key made by someone who is no longer an owner or admin
  • 404Not found in this workspace
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl -X PATCH https://app.zicreach.com/api/v1/crm/contacts/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
  -H "Authorization: Bearer zk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"first_name":"Jane","last_name":"Doe"}'
Response200
{
    "message": "Contact saved.",
    "data": {
        "id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "first_name": "Jane",
        "last_name": "Doe",
        "email": "jane@example.com",
        "phone": null,
        "company": "Example Ltd",
        "job_title": "Founder",
        "location": "London",
        "website": "example.com",
        "linkedin_url": null,
        "list_id": null,
        "owner_id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
        "tags": [
            "vip"
        ],
        "lifecycle_stage": "lead",
        "lead_source": "website",
        "company_id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
        "custom": {
            "plan": "Pro"
        },
        "created_at": "2026-10-01T09:00:00Z"
    }
}

Delete a contact

DELETE/api/v1/crm/contacts/{id}

Moves the contact to Trash, as Delete on the Contacts page. It can be restored from Trash in the app.

Needs a read and write API key.

Parameters

NameTypeDescription
idrequired path uuid Contact id.

Errors

  • 401Missing or invalid key
  • 403Read-only key used for a change, or a key made by someone who is no longer an owner or admin
  • 404Not found in this workspace
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl -X DELETE https://app.zicreach.com/api/v1/crm/contacts/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
  -H "Authorization: Bearer zk_your_key"
Response200
{
    "message": "Contact moved to Trash."
}

List companies

GET/api/v1/crm/companies

CRM companies, newest first, each with its number of contacts.

Any API key, read-only included.

Parameters

NameTypeDescription
q query string Name or domain.
owner_id query uuid Only companies this member owns.
industry query string Only this industry.
tag query string Only companies with this tag.
per_page query integer Up to 100. Default 25.

Errors

  • 401Missing or invalid key
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl https://app.zicreach.com/api/v1/crm/companies \
  -H "Authorization: Bearer zk_your_key"
Response200
{
    "data": [
        {
            "id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
            "name": "Example Ltd",
            "domain": "example.com",
            "website": "https://example.com",
            "industry": "Software",
            "size": "11-50",
            "phone": null,
            "location": "London",
            "description": null,
            "owner_id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
            "tags": [],
            "custom": [],
            "contacts": 3,
            "created_at": "2026-10-01T09:00:00Z"
        }
    ],
    "meta": {
        "current_page": 1,
        "last_page": 1,
        "total": 1
    }
}

Create a company

POST/api/v1/crm/companies

As the New company form. One company per domain: 409 with the existing id when the domain is already there.

Needs a read and write API key.

Body

NameTypeDescription
namerequired string Company name.
domain string Domain, such as example.com.
website string Website.
industry string Industry.
size string Size, such as 11-50.
phone string Phone.
location string Location.
description string What they do.
owner_id uuid The member who owns it. Default: the key's creator.
tags string Tags, comma separated.
custom object Custom field values by field key.

Errors

  • 401Missing or invalid key
  • 403Read-only key used for a change, or a key made by someone who is no longer an owner or admin
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl -X POST https://app.zicreach.com/api/v1/crm/companies \
  -H "Authorization: Bearer zk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"name":"Q4 founders","domain":"example","website":"example"}'
Response201
{
    "message": "Company added.",
    "data": {
        "id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
        "name": "Example Ltd",
        "domain": "example.com",
        "website": "https://example.com",
        "industry": "Software",
        "size": "11-50",
        "phone": null,
        "location": "London",
        "description": null,
        "owner_id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "tags": [],
        "custom": [],
        "contacts": 3,
        "created_at": "2026-10-01T09:00:00Z"
    }
}

Get a company

GET/api/v1/crm/companies/{id}

One CRM company.

Any API key, read-only included.

Parameters

NameTypeDescription
idrequired path uuid Company id.

Errors

  • 401Missing or invalid key
  • 404Not found in this workspace
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl https://app.zicreach.com/api/v1/crm/companies/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
  -H "Authorization: Bearer zk_your_key"
Response200
{
    "data": {
        "id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
        "name": "Example Ltd",
        "domain": "example.com",
        "website": "https://example.com",
        "industry": "Software",
        "size": "11-50",
        "phone": null,
        "location": "London",
        "description": null,
        "owner_id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "tags": [],
        "custom": [],
        "contacts": 3,
        "created_at": "2026-10-01T09:00:00Z"
    }
}

Update a company

PATCH/api/v1/crm/companies/{id}

As the company form. Send only what changes; tags replace the tags.

Needs a read and write API key.

Parameters

NameTypeDescription
idrequired path uuid Company id.

Body

NameTypeDescription
name string Company name.
domain string Domain.
website string Website.
industry string Industry.
size string Size.
phone string Phone.
location string Location.
description string What they do.
owner_id uuid The member who owns it, or null.
tags string Tags, comma separated.
custom object Custom field values by field key.

Errors

  • 401Missing or invalid key
  • 403Read-only key used for a change, or a key made by someone who is no longer an owner or admin
  • 404Not found in this workspace
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl -X PATCH https://app.zicreach.com/api/v1/crm/companies/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
  -H "Authorization: Bearer zk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"name":"Q4 founders","domain":"example"}'
Response200
{
    "message": "Company saved.",
    "data": {
        "id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
        "name": "Example Ltd",
        "domain": "example.com",
        "website": "https://example.com",
        "industry": "Software",
        "size": "11-50",
        "phone": null,
        "location": "London",
        "description": null,
        "owner_id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "tags": [],
        "custom": [],
        "contacts": 3,
        "created_at": "2026-10-01T09:00:00Z"
    }
}

Delete a company

DELETE/api/v1/crm/companies/{id}

Deletes the company and keeps its contacts and deals. A company someone else added needs a key made by an owner or admin.

Needs a read and write API key.

Parameters

NameTypeDescription
idrequired path uuid Company id.

Errors

  • 401Missing or invalid key
  • 403Read-only key used for a change, or a key made by someone who is no longer an owner or admin
  • 404Not found in this workspace
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl -X DELETE https://app.zicreach.com/api/v1/crm/companies/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
  -H "Authorization: Bearer zk_your_key"
Response200
{
    "message": "Company deleted. Its contacts and deals are kept."
}

List tasks

GET/api/v1/crm/tasks

Open tasks by due date, or another view.

Any API key, read-only included.

Parameters

NameTypeDescription
view query string open (default), overdue, today, upcoming, done or all.
type query string Task type: todo, call, email, meeting.
assigned_to query uuid Only tasks assigned to this member.
lead_id query uuid Only tasks about this contact.
opportunity_id query uuid Only tasks about this deal.
crm_company_id query uuid Only tasks about this company.
per_page query integer Up to 100. Default 25.

Errors

  • 401Missing or invalid key
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl https://app.zicreach.com/api/v1/crm/tasks \
  -H "Authorization: Bearer zk_your_key"
Response200
{
    "data": [
        {
            "id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
            "title": "Send the proposal",
            "notes": null,
            "type": "todo",
            "due_at": "2026-11-03T09:00:00Z",
            "done": false,
            "done_at": null,
            "assigned_to": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
            "assignee": "Sara Khan",
            "lead_id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
            "opportunity_id": null,
            "crm_company_id": null,
            "created_by": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
            "created_at": "2026-11-01T08:00:00Z"
        }
    ],
    "meta": {
        "current_page": 1,
        "last_page": 1,
        "total": 1
    }
}

Create a task

POST/api/v1/crm/tasks

As New task: it lands in the CRM inbox of the person it is assigned to.

Needs a read and write API key.

Body

NameTypeDescription
titlerequired string What to do.
due_on date YYYY-MM-DD.
due_time string HH:MM. Default 09:00.
type string Task type. Default todo.
notes string Notes.
assigned_to uuid A member. Default: the key's creator.
lead_id uuid The contact it is about.
opportunity_id uuid The deal it is about.
crm_company_id uuid The company it is about.

Errors

  • 401Missing or invalid key
  • 403Read-only key used for a change, or a key made by someone who is no longer an owner or admin
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl -X POST https://app.zicreach.com/api/v1/crm/tasks \
  -H "Authorization: Bearer zk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"title":"Acme pilot","due_on":"example","due_time":"example"}'
Response201
{
    "message": "Task added.",
    "data": {
        "id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
        "title": "Send the proposal",
        "notes": null,
        "type": "todo",
        "due_at": "2026-11-03T09:00:00Z",
        "done": false,
        "done_at": null,
        "assigned_to": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "assignee": "Sara Khan",
        "lead_id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "opportunity_id": null,
        "crm_company_id": null,
        "created_by": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "created_at": "2026-11-01T08:00:00Z"
    }
}

Get a task

GET/api/v1/crm/tasks/{id}

One task.

Any API key, read-only included.

Parameters

NameTypeDescription
idrequired path uuid Task id.

Errors

  • 401Missing or invalid key
  • 404Not found in this workspace
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl https://app.zicreach.com/api/v1/crm/tasks/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
  -H "Authorization: Bearer zk_your_key"
Response200
{
    "data": {
        "id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
        "title": "Send the proposal",
        "notes": null,
        "type": "todo",
        "due_at": "2026-11-03T09:00:00Z",
        "done": false,
        "done_at": null,
        "assigned_to": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "assignee": "Sara Khan",
        "lead_id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "opportunity_id": null,
        "crm_company_id": null,
        "created_by": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "created_at": "2026-11-01T08:00:00Z"
    }
}

Update a task

PATCH/api/v1/crm/tasks/{id}

As the task form, plus done to tick it off or reopen it. Send only what changes.

Needs a read and write API key.

Parameters

NameTypeDescription
idrequired path uuid Task id.

Body

NameTypeDescription
title string What to do.
due_on date YYYY-MM-DD, or null for no due date.
due_time string HH:MM.
type string Task type.
notes string Notes.
assigned_to uuid A member.
done boolean true marks it done, false reopens it.

Errors

  • 401Missing or invalid key
  • 403Read-only key used for a change, or a key made by someone who is no longer an owner or admin
  • 404Not found in this workspace
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl -X PATCH https://app.zicreach.com/api/v1/crm/tasks/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
  -H "Authorization: Bearer zk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"title":"Acme pilot","due_on":"example"}'
Response200
{
    "message": "Task saved.",
    "data": {
        "id": "9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10",
        "title": "Send the proposal",
        "notes": null,
        "type": "todo",
        "due_at": "2026-11-03T09:00:00Z",
        "done": true,
        "done_at": "2026-11-03T10:00:00Z",
        "assigned_to": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "assignee": "Sara Khan",
        "lead_id": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "opportunity_id": null,
        "crm_company_id": null,
        "created_by": "9d1c6a2f-8a3e-41c7-b2d4-6e5f0a9c1b22",
        "created_at": "2026-11-01T08:00:00Z"
    }
}

Delete a task

DELETE/api/v1/crm/tasks/{id}

Deletes the task. A task someone else created needs a key made by an owner or admin.

Needs a read and write API key.

Parameters

NameTypeDescription
idrequired path uuid Task id.

Errors

  • 401Missing or invalid key
  • 403Read-only key used for a change, or a key made by someone who is no longer an owner or admin
  • 404Not found in this workspace
  • 422Invalid input, or not ready; the body has message and an errors object, one entry per field
  • 429More than 120 requests a minute
Request
curl -X DELETE https://app.zicreach.com/api/v1/crm/tasks/9d1c6a2e-4b7f-4e0a-9a51-2f8c3b6d7e10 \
  -H "Authorization: Bearer zk_your_key"
Response200
{
    "message": "Task deleted."
}