Chatilo
USDPrices shown in US dollars Sign in Start free trial
Guide

Zapier and Make

Zapier and Make connect apps without code: “when a customer writes on WhatsApp, add a row to a sheet”, “when a form is filled in, send a WhatsApp template”. Chatilo works with both, and with n8n, through the same API described on these pages.

Two directions #

  • Triggers start an automation when something happens in Chatilo. They use webhooks: the tool gives you an address, and you subscribe it to an event.
  • Actions do something in Chatilo from another app. They are ordinary API requests.

For both you need two things from the API and webhooks page: the base address, which is https://chatilo.me/api/v1, and an API key. Make one key per tool, with read-and-write access, so you can switch a tool off without touching the others.

The triggers #

EventStarts an automation when
message.receivedA customer sends a message
contact.createdA new contact is added
contact.updatedA contact’s details are changed
contact.tag_addedA tag is added to a contact
conversation.openedA conversation starts or is reopened
conversation.closedA conversation is closed
conversation.handoverA chatbot hands a chat to the team
campaign.finishedA broadcast finishes
lead.createdA new lead arrives from an ad
order.createdA customer places an order in chat
order.paidAn order is paid
order.fulfilledAn order is marked fulfilled
order.cancelledAn order is cancelled
booking.createdAn appointment is booked
booking.rescheduledAn appointment is moved to a new time
booking.cancelledAn appointment is cancelled

Example deliveries for each are in the webhooks guide.

Zapier #

With the Chatilo app for Zapier #

Chatilo ships with a Zapier app definition. Whoever runs this installation uploads it once to their Zapier account and invites you; the steps are in the integrations/zapier folder of the installation. Then:

  1. In Zapier, create a Zap and choose the Chatilo app as its trigger or action.
  2. When asked to connect, enter the base address https://chatilo.me and your API key.
  3. Pick a trigger or an action and map the fields. Dropdowns for tags, templates and numbers fill themselves from your workspace.

Triggers subscribe themselves when the Zap is switched on and unsubscribe when it is switched off. You can see them under Active connections on the API and webhooks page. The app covers the nine messaging and contact events; for order and booking events, use the method below.

Without the app: Webhooks by Zapier #

Zapier’s own Webhooks by Zapier works with any installation, with nothing to upload.

  1. For a trigger, choose Webhooks by Zapier → Catch Hook. Zapier shows you an address starting with https://hooks.zapier.com/. Subscribe it to an event by running this once, in a terminal or any API tool:
    Subscribe Zapier’s address
    curl -X POST "https://chatilo.me/api/v1/hooks" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "event": "message.received",
        "target_url": "https://hooks.zapier.com/hooks/catch/123456/abcdef/"
    }'
    Then cause the event (send your number a WhatsApp message) so Zapier can see a sample.
  2. For an action, choose Webhooks by Zapier → Custom Request. Set the method and URL from the table below, paste the JSON as the data, and add the two headers.

Make #

Make uses its built-in modules; there is nothing to install.

Start a scenario when something happens #

  1. Add the Webhooks → Custom webhook module and copy the address Make gives you.
  2. Subscribe that address to an event. Run this once, or use Make’s HTTP → Make a request module:
    Subscribe Make’s address
    curl -X POST "https://chatilo.me/api/v1/hooks" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "event": "order.paid",
        "target_url": "https://hook.eu1.make.com/YOUR_WEBHOOK"
    }'
  3. In Make, press Redetermine data structure, then cause the event so Make learns its shape. Or copy an example from GET /sample/{event}.

The answer to the subscribe request has the subscription’s id. To stop it later: DELETE https://chatilo.me/api/v1/hooks/ID, or use the bin icon under Active connections.

Do something from a scenario #

Add HTTP → Make a request. Set the method and URL, choose body type Raw and content type JSON, paste the body, and add these headers:

Headers
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Requests to copy #

These are the actions people use most. Any endpoint in the reference works the same way.

Find a contact

Find a contact
GET https://chatilo.me/api/v1/contacts?phone=%2B919876543210

Create or update a contact

Create or update a contact
POST https://chatilo.me/api/v1/contacts

{
    "phone": "+919876543210",
    "name": "Grace Miller",
    "tags": [
        "New customer"
    ]
}

Add a tag

Add a tag
POST https://chatilo.me/api/v1/contacts/+919876543210/tags

{
    "tag": "VIP"
}

Send a WhatsApp template

Send a WhatsApp template
POST https://chatilo.me/api/v1/messages

{
    "to": "+919876543210",
    "type": "template",
    "template": {
        "name": "order_update",
        "language": "en",
        "body": [
            "Grace",
            "#1042"
        ]
    }
}

Add a note to a conversation

Add a note to a conversation
POST https://chatilo.me/api/v1/notes

{
    "to": "+919876543210",
    "text": "Paid by bank transfer."
}

Create a booking

Create a booking
POST https://chatilo.me/api/v1/bookings

{
    "service_id": 3,
    "start": "2026-12-08T05:00:00Z",
    "customer": {
        "phone": "+919876543210",
        "name": "Grace Miller"
    }
}

n8n #

The same two pieces. Use a Webhook node (method POST) to receive events: copy its production URL and subscribe it with POST /hooks as above. Use the HTTP Request node for actions, with “Header Auth” credentials named Authorization and the value Bearer YOUR_API_KEY, and “Send Body” as JSON.

Your n8n must be reachable from the internet. Addresses on a private network (localhost, 10.x, 192.168.x) are refused.

Good to know #

  • Text needs an open window. A plain text message only goes out within 24 hours of the customer’s last message; otherwise the request answers window_closed. For anything that might be sent later, use a template.
  • Avoid double sends. Add an Idempotency-Key header with something unique to the event, such as the order number. If the tool retries, the message is not sent twice. See idempotency.
  • Mind the limit. A key may make 120 requests a minute. A scenario that loops over thousands of rows should use the bulk contact request or add a pause.
  • Switching off. When Zapier or Make answers a delivery with 410 Gone, the subscription removes itself. Deleting an API key removes the subscriptions made with it.
  • Check deliveries. The API and webhooks page shows the result of the latest delivery for each connection.

Cookies on this site

We use the cookies needed to run the site and keep you signed in. With your OK we also remember choices you make here, such as the currency for prices. We don’t use advertising or tracking cookies. Cookie policy