Product
Industries
GuidesPricingAbout
Log inFree 14-day trial
Zatio/Developers

Zatio API

Connect your CRM, your job management tool, your property or booking system, your event platform or an automation tool to Zatio. Read what your assistant collects and send it what it needs to know.

On this page
  • Overview
  • Authentication
  • Quick start
  • Pagination and keeping in sync
  • Endpoints
  • Objects
  • Writing knowledge
  • Zatio Events: attendees and agenda
  • Errors
  • Rate limits
  • Webhooks
  • Verifying the webhook signature
  • Data protection
  • Changes to the API

Overview

The Zatio API is a REST API over HTTPS that answers in JSON. The base URL is https://zatio.io/api/v1.

With it you can read your leads, conversations, messages, appointments and booking requests, and you can write knowledge entries that your assistant uses when it answers. Zatio Events accounts can also create and update attendees and agenda sessions.

To be told when something happens instead of asking, use webhooks: Zatio sends a signed request to your URL when a lead is created, becomes hot, is passed to a person and so on.

There is no Zatio app in the Zapier or Make directories yet. Any tool that can make an HTTPS request with a header (the HTTP module in Make, Webhooks in Zapier, n8n, your own code) can use this API today.

OpenAPI 3.1 document

Authentication

Every request needs an API key. An owner or admin of the account creates it in the dashboard: Set-up, Integrations, API keys. The key is shown once, when it is created. Zatio stores only a SHA-256 hash of it, so nobody can look it up later, including us. If you lose it, revoke it and create another.

Send the key in the Authorization header as a bearer token. Keys start with zat_live_.

A key belongs to one account and only ever sees that account. A key has the read scope and, if you choose "Read and write" when you create it, the write scope too. Give each integration its own key so you can revoke one without stopping the others.

An account can have up to 10 active keys. Revoking a key takes effect on the next request and cannot be undone.

Keep keys on your server. Do not put them in a web page, a mobile app or a public repository.

Authorization: Bearer zat_live_YOUR_KEY

Quick start

Check that the key works, then read your leads.

curl https://zatio.io/api/v1/me \
  -H "Authorization: Bearer zat_live_YOUR_KEY"
curl "https://zatio.io/api/v1/leads?limit=50&updated_since=2026-11-01T00:00:00Z" \
  -H "Authorization: Bearer zat_live_YOUR_KEY"
{
  "data": [
    {
      "id": "6f1c2a0e-3b54-4c1d-9a77-2f0c8d1e5b90",
      "name": "Alex Example",
      "phone": "+447700900123",
      "email": "alex@example.com",
      "postcode": "G1 1AA",
      "address": null,
      "interest": "heat pump",
      "status": "new",
      "temperature": "warm",
      "score": 62,
      "summary": "Asked about a heat pump for a three-bedroom house.",
      "do_not_contact": false,
      "first_contact_at": "2026-11-03T09:12:44.120000+00:00",
      "last_activity_at": "2026-11-03T09:20:02.511000+00:00",
      "created_at": "2026-11-03T09:12:44.120000+00:00"
    }
  ],
  "has_more": true,
  "next_cursor": "WyIyMDI2LTExLTAzVDA5OjIwOjAyLjUxMTAwMCswMDowMCIsIjZmMWMyYTBlLi4uIl0"
}

Pagination and keeping in sync

Lists return up to limit items (default 50, maximum 100) with has_more and next_cursor. To get the next page, send next_cursor back as cursor, exactly as it came.

Each list is ordered by one date field, oldest first: leads by last_activity_at, conversations by last_message_at, and bookings, booking requests and knowledge entries by updated_at. updated_since filters on that same field. To pick up what is new, send updated_since with an ISO 8601 date-time, or keep the last next_cursor and carry on from it.

For leads and conversations that field moves with new activity (a message or a call). A change your team makes in the dashboard with no new activity, such as the status of a lead or archiving a conversation, does not move the item, so an incremental sync will not see it. Run a full sync from time to time if you need those changes.

An item that changes while you are paging can appear again further on. Save items by their id so a repeat simply updates what you have.

curl "https://zatio.io/api/v1/leads?limit=50&cursor=NEXT_CURSOR_FROM_THE_LAST_PAGE" \
  -H "Authorization: Bearer zat_live_YOUR_KEY"

Endpoints

All paths are relative to https://zatio.io/api/v1.

MethodPathScopeWhat it does
GET/mereadThe account and key behind the request. Use it to test a connection.
GET/openapi.jsonnoneThis API as an OpenAPI 3.1 document. No key needed.
GET/leadsreadList leads, oldest activity first.
GET/leads/{id}readGet one lead.
GET/conversationsreadList conversations, oldest last message first.
GET/conversations/{id}/messagesreadList the messages of one conversation, oldest first.
GET/bookingsreadList appointments in the Zatio calendar, oldest change first.
GET/booking-requestsreadList booking requests your team confirms, oldest change first.
GET/knowledgereadList the knowledge entries created through the API.
GET/knowledge/{external_id}readGet one knowledge entry created through the API.
PUT/knowledge/{external_id}writeCreate or replace a knowledge entry by your own id.
DELETE/knowledge/{external_id}writeDelete a knowledge entry created through the API.
GET/eventsreadList your events (Zatio Events accounts only).
PUT/events/{code}/attendeeswriteCreate or update attendees of an event by ref. With mode replace, also removes those not in the list.
DELETE/events/{code}/attendeeswriteRemove one attendee from an event by ref.
PUT/events/{code}/sessionswriteCreate or update agenda sessions of an event by ref. With mode replace, also removes those not in the list.
DELETE/events/{code}/sessionswriteRemove one session from the agenda by ref.
GET/webhook-eventsreadList the webhook event types and how they are delivered.
curl "https://zatio.io/api/v1/conversations/CONVERSATION_ID/messages" \
  -H "Authorization: Bearer zat_live_YOUR_KEY"

Objects

The API returns the fields below and nothing else. Internal notes, raw provider payloads and the technical details of the AI are not part of it. Messages are the ones written by the contact, the AI assistant and your team; automatic system messages, such as a reminder, are left out.

Fields marked "or null" can be empty.

Lead

FieldTypeDescription
idstring (uuid)Lead id.
namestring or nullName as the contact gave it.
phonestring or nullPhone number in international format, when known.
emailstring or nullEmail address, when the contact gave one.
postcodestring or nullPostcode, when the contact gave one.
addressstring or nullAddress, when the contact gave one.
intereststring or nullWhat the contact is interested in, as the assistant understood it.
statusstring or nullStage set in the dashboard, new, contacted, qualified, won or discarded.
temperaturestring or nullhot, warm or cold, as scored by Zatio.
scoreinteger or nullLead score from 0 to 100, when one has been calculated.
summarystring or nullShort summary of the latest conversation.
do_not_contactbooleanTrue when the contact asked not to be contacted. Respect it in your own systems.
first_contact_atstring (date-time) or nullFirst time the contact wrote or called.
last_activity_atstring (date-time) or nullLast activity. Lists are ordered by this field and updated_since filters on it.
created_atstring (date-time) or nullWhen the lead was created.

Conversation

FieldTypeDescription
idstring (uuid)Conversation id.
lead_idstring (uuid) or nullThe lead this conversation belongs to.
channelstring or nullwhatsapp, web or voice.
statusstring or nullConversation status.
handover_statestring or nullai (the assistant is answering), human (your team took over) or closed.
contact_namestring or nullContact name on this channel.
contact_phonestring or nullContact phone on this channel, in international format, when known.
message_countintegerNumber of messages.
summarystring or nullSummary of the conversation, when one has been generated.
do_not_contactbooleanTrue when the contact asked not to be contacted in this conversation.
archivedbooleanTrue when the conversation is archived in the dashboard.
started_atstring (date-time) or nullWhen the conversation started.
last_message_atstring (date-time) or nullTime of the last message. Lists are ordered by this field and updated_since filters on it.
last_inbound_atstring (date-time) or nullLast message from the contact.
last_outbound_atstring (date-time) or nullLast message to the contact.
dashboard_urlstring (uri) or nullLink to the conversation in the Zatio dashboard.

Message

FieldTypeDescription
idstring (uuid)Message id.
conversation_idstring (uuid)Conversation id.
senderstringWho wrote it: the contact, the AI assistant or a person on your team.
textstringMessage text.
created_atstring (date-time) or nullWhen it was sent.

Booking

FieldTypeDescription
idstring (uuid)Booking id.
statusstring or nullbooked, cancelled, done or no_show.
starts_atstring (date-time) or nullStart time.
ends_atstring (date-time) or nullEnd time.
duration_minutesinteger or nullLength in minutes.
customer_namestring or nullCustomer name.
customer_phonestring or nullCustomer phone, when known.
customer_emailstring or nullCustomer email, when known.
reasonstring or nullWhat the appointment is for.
booked_bystring or nullassistant (booked by the AI assistant) or manual (added by your team).
lead_idstring (uuid) or nullRelated lead, when there is one.
conversation_idstring (uuid) or nullRelated conversation, when there is one.
created_atstring (date-time) or nullWhen it was created.
updated_atstring (date-time) or nullLast change. Lists are ordered by this field and updated_since filters on it.
cancelled_atstring (date-time) or nullWhen it was cancelled, if it was.

BookingRequest

FieldTypeDescription
idstring (uuid)Booking request id.
statusstring or nullpending, confirmed, declined, proposed or link_sent.
servicestring or nullWhat the customer asked to book.
requested_datestring (date) or nullRequested date, YYYY-MM-DD.
requested_timestring or nullRequested time as the customer said it, for example "21:00" or "in the afternoon".
party_sizeinteger or nullPeople or units, when it applies.
customer_namestring or nullCustomer name.
customer_phonestring or nullCustomer phone, when known.
customer_emailstring or nullCustomer email, when known.
customer_notesstring or nullNotes the customer added to the request.
channelstring or nullweb, whatsapp or voice.
proposed_textstring or nullThe other time your team proposed, when status is proposed.
lead_idstring (uuid) or nullRelated lead, when there is one.
conversation_idstring (uuid) or nullRelated conversation, when there is one.
created_atstring (date-time) or nullWhen it was created.
updated_atstring (date-time) or nullLast change. Lists are ordered by this field and updated_since filters on it.
decided_atstring (date-time) or nullWhen your team decided.

KnowledgeEntry

FieldTypeDescription
external_idstringYour own id for this entry.
titlestringShort title.
contentstringThe text the assistant can use.
tagsarrayFree tags.
enabledbooleanFalse hides the entry from the assistant without deleting it.
created_atstring (date-time) or nullWhen it was created.
updated_atstring (date-time) or nullLast change.

Writing knowledge

Knowledge entries are short texts your assistant can look up when it answers: opening hours of a branch, the price list from your catalogue, the rules of a room type. With the write scope you can keep them up to date from the system where that information lives.

You choose an external_id for each entry (your own id) and send PUT /knowledge/{external_id} with a title and the content. The same request creates the entry the first time and replaces it after that, so it is safe to repeat.

Entries created through the API are kept apart from the ones written in the dashboard. The API can only list, change and delete its own entries. It cannot read, change or delete what the account owner wrote in the dashboard, whatever id you send. The reverse is not true: an entry created through the API shows in the dashboard and can be edited there, and your next PUT for that external_id replaces that edit.

Limits: title up to 160 characters, content up to 8,000, up to 10 tags, and 500 entries per account. Set enabled to false to hide an entry from the assistant without deleting it.

On some accounts the knowledge is managed only by the account owner. There, writes return 403 with the code knowledge_write_disabled.

Write facts, not instructions: the assistant treats an entry as information about the business. Do not put personal data of your customers in knowledge entries.

curl -X PUT https://zatio.io/api/v1/knowledge/opening-hours-glasgow \
  -H "Authorization: Bearer zat_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Opening hours, Glasgow branch",
    "content": "Monday to Friday 08:00 to 18:00. Saturday 09:00 to 13:00. Closed on Sunday.",
    "tags": ["hours", "glasgow"]
  }'
curl -X DELETE https://zatio.io/api/v1/knowledge/opening-hours-glasgow \
  -H "Authorization: Bearer zat_live_YOUR_KEY"

Zatio Events: attendees and agenda

These endpoints work only on Zatio Events accounts. Other accounts get 403 with the code events_not_enabled. The event itself is created in the dashboard; the API finds it by its code.

Attendees and sessions are matched by ref, your own stable id. Sending a ref that exists updates it; a new ref adds it. A normal upsert never removes anyone. An attendee keeps the access code they already have, and Zatio generates the code for new ones. If you send a different person under a ref that already exists, the WhatsApp number linked to the previous person is removed; the response counts these as links_dropped.

Send up to 500 attendees or 200 sessions per request. Add "dry_run": true to check a request and get the counts without saving anything.

To remove people who drop out, send DELETE /events/{code}/attendees?ref=... for each one, or send the whole list with "mode": "replace" (up to 5,000 attendees or 500 sessions in one request): whoever is not in the list is removed, and the response counts them as removed. As a safety brake, a replace that has fewer than half of the current entries, or would remove more than half, saves nothing and returns 409 with the code removes_too_many. Removed attendees are no longer recognised by the assistant. Test attendees created in the dashboard are never removed.

Phone numbers must be in international format with the country code. In details you can send extra fields the assistant can tell that attendee (hotel, table, transfer time). Fields that look like identity documents, bank or card details or passwords are rejected. Sending wa_opt_in: true is your statement that this attendee has agreed to receive WhatsApp messages from the organiser: Zatio does not check it, and the organiser can then message that number. Only send it when you hold that consent and can show it; leave the field out if you are not sure.

Optionally, assistant_phone is the mobile of the attendee's personal assistant: that WhatsApp number can also ask about this attendee. Send null to remove it. If you leave the field out, the number already saved stays, also with "mode": "replace". A value that is not a valid international mobile is ignored for that attendee, the rest is saved, and the response counts it in assistant_phones_dropped.

curl -X PUT https://zatio.io/api/v1/events/GLA27/attendees \
  -H "Authorization: Bearer zat_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "dry_run": true,
    "attendees": [
      {
        "ref": "REG-00412",
        "full_name": "Alex Example",
        "email": "alex@example.com",
        "phone": "+447700900123",
        "groups": ["Speakers"],
        "details": { "Hotel": "Example Hotel", "Table": "4" }
      }
    ]
  }'
curl -X PUT https://zatio.io/api/v1/events/GLA27/sessions \
  -H "Authorization: Bearer zat_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "sessions": [
      {
        "ref": "S-101",
        "title": "Opening keynote",
        "starts_at": "2027-04-15T09:30:00+01:00",
        "ends_at": "2027-04-15T10:15:00+01:00",
        "room": "Main hall"
      }
    ]
  }'

Errors

Errors use the usual HTTP status codes and a JSON body with a stable code and a message for a person. Check the code in your integration; the wording of messages can change.

{
  "error": {
    "code": "insufficient_scope",
    "message": "This API key does not have the \"write\" scope."
  }
}
CodeHTTP statusMeaning
missing_api_key401Send your API key in the Authorization header: "Authorization: Bearer zat_live_...".
invalid_api_key401This API key is not valid.
revoked_api_key401This API key has been revoked. Create a new one under Integrations in the dashboard.
insufficient_scope403This API key does not have the "write" scope.
tenant_inactive403This account is not active.
knowledge_write_disabled403Knowledge for this account is managed by the account owner and cannot be changed through the API.
events_not_enabled403This account does not use Zatio Events.
not_found404Not found.
invalid_request400The request is not valid.
invalid_json400The request body must be a JSON object.
invalid_cursor400The cursor is not valid. Send the next_cursor of the previous page exactly as it came.
payload_too_large413The request body is too large.
limit_reached409This account has reached the limit for this resource.
removes_too_many409Nothing was saved: a full replace may not remove more than half of the current list.
rate_limited429Too many requests. Wait and try again.
api_unavailable503The API is not available right now. Try again shortly.
internal_error500Something went wrong on our side.

Rate limits

Each key can make 120 requests per minute. Responses to requests with a valid key carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix time in seconds when the minute ends).

Over the limit you get 429 with the code rate_limited and a Retry-After header in seconds. Wait that long and try again. Event upserts are also throttled separately, because each one checks the whole attendee list: send them in batches rather than one attendee at a time.

Webhooks

Set the webhook URL and choose the events in the dashboard: Set-up, Integrations, "Connect my CRM". You can enter several URLs separated by commas. GET /webhook-events returns this same list.

Each delivery is a POST with a JSON body: event, tenant (id and name of your account), sent_at and the blocks of that event. The X-Zatio-Event header repeats the event type.

Answer with any 2xx status within 10 seconds. If your server answers 5xx or 429, or does not answer in time, Zatio tries again after about 1 minute, 5 minutes, 30 minutes, 2 hours, 8 hours and 24 hours, and then stops. A delivery can arrive more than once, so make your handler safe to repeat.

EventWhen it is sentBlocks in the body
lead_createdA new contact wrote or called for the first time.lead, conversation
lead_updatedThe assistant learned something new about a contact (name, email, postcode, interest and so on).lead, conversation, attachments
lead_hotA contact became a hot lead and has contact details. Sent once per lead.lead, conversation, attachments
handoff_startedThe conversation was passed to a person on your team.lead, conversation, attachments
conversation_closedA conversation was closed, by your team or after a period with no activity.lead, conversation, attachments
quote_pack_generatedA quote pack document was generated for the contact.lead, conversation
booking_confirmedAn appointment was confirmed in the connected calendar provider.lead, conversation, booking
booking_canceledAn appointment was cancelled in the connected calendar provider.lead, conversation, booking
booking_failedA booking the customer wanted did not complete, so your team can follow up.lead, conversation, booking_failure
booking_request_createdThe assistant took a booking request that your team has to confirm.lead, conversation, booking_request
booking_request_updatedYour team confirmed, declined or proposed another time for a booking request.lead, conversation, booking_request
{
  "event": "lead_hot",
  "tenant": { "id": "YOUR_ACCOUNT_ID", "name": "Your business" },
  "sent_at": "2026-11-03T09:20:05.000Z",
  "lead": {
    "id": "6f1c2a0e-3b54-4c1d-9a77-2f0c8d1e5b90",
    "phone": "+447700900123",
    "email": "alex@example.com",
    "name": "Alex Example",
    "first_name": "Alex",
    "last_name": "Example",
    "temperature": "hot",
    "score": 81,
    "summary": "Wants a quote this week."
  },
  "conversation": {
    "id": "0b9d3c52-7a41-4d0e-8f1a-5c2e9b7d6a10",
    "channel": "whatsapp",
    "handover_state": "ai",
    "dashboard_url": "https://zatio.io/app/conversations/0b9d3c52-7a41-4d0e-8f1a-5c2e9b7d6a10"
  }
}

Verifying the webhook signature

When you save the webhook, the dashboard shows a signing secret once. Zatio signs each delivery with it: the X-Zatio-Signature header is the HMAC-SHA256 of the raw request body, in lowercase hex.

Compute the same HMAC over the body exactly as it arrived, before parsing it, and compare the two in constant time. Reject the request if they differ.

import crypto from "node:crypto";

// rawBody: the request body exactly as received (a string or Buffer), not the parsed JSON.
export function isFromZatio(rawBody, signatureHeader, secret) {
  const expected = crypto.createHmac("sha256", secret).update(rawBody).digest();
  const received = Buffer.from(signatureHeader || "", "hex");
  return received.length === expected.length && crypto.timingSafeEqual(received, expected);
}
import hashlib, hmac

def is_from_zatio(raw_body: bytes, signature_header: str, secret: str) -> bool:
    expected = hmac.new(secret.encode(), raw_body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, signature_header or "")

Data protection

The API gives you personal data of your own customers: names, phone numbers, email addresses and what they wrote. You remain responsible for how you use it in your systems, as you are for the same data in the dashboard. Zatio processes it on your behalf under the Data Processing Agreement.

Leads and conversations carry a do_not_contact flag when the person asked not to be contacted. Carry it over to your CRM and respect it there.

Ask for what you need and no more: use a read-only key when the integration only reads, give each integration its own key, and revoke keys you no longer use. All requests go over HTTPS.

Data Processing Agreement · Security

Changes to the API

This is version 1. We may add endpoints, and add fields to the objects, without changing the version. Write your integration so that it ignores fields it does not know.

hello@zatio.io

Your sales teammate on the phone, WhatsApp and your website. Answers straight away, Sundays included.

Almor Ventures SL · CIF B27691799

A product by Hey Now Studio

Product

  • Features
  • Pricing
  • Integrations
  • Developers (API)
  • ROI calculator
  • Missed call calculator
  • WhatsApp away message and voicemail generator
  • WhatsApp API number checker
  • Free tools
  • Status

Solutions

  • AI receptionist UK
  • AI call answering service
  • WhatsApp chatbot for business
  • Out of hours answering service
  • Best AI receptionists 2026
  • Free website check

Industries

  • Health & wellbeing
  • Home services & energy
  • Property
  • Professional services
  • Automotive
  • Education & training
  • Hospitality & travel
  • Retail & e-commerce
  • Trades: plumbers, electricians, heating
  • Events: WhatsApp guest concierge
  • Corporate events: Sidekick
  • Weddings: Curator

Compare

  • AI receptionists (UK)
  • vs Moneypenny
  • vs Fasthosts
  • vs Smith.ai
  • vs CloudTalk
  • vs AInora
  • vs Meta AI (WhatsApp)
  • vs Intercom
  • vs Drift
  • vs ManyChat
  • All alternatives

Guides

  • AI receptionist cost (UK)
  • AI receptionist or answering service
  • Forward calls to an AI receptionist
  • WhatsApp Business app or API
  • Videos
  • All guides

Company

  • About
  • Zatio facts
  • Contact
  • News
  • Partner programme

Legal

  • Privacy
  • Terms
  • DPA
  • Acceptable use
  • WhatsApp use case
  • Cookies
  • Security
  • Data deletion

Contact

  • hello@zatio.io
  • privacy@zatio.io
  • security@zatio.io
© 2026 Zatio. All rights reserved.
zatio.io
Hear itStart your 14-day free trial