Every endpoint
73 endpoints in 14 groups. Each one has its parameters, what comes back, the errors it can answer with, and a request you can copy in cURL, PHP, JavaScript or Python.
Base address https://chatilo.me/api/v1 · Send Authorization: Bearer YOUR_API_KEY · New here? Start with the basics
Account #
Check a key and see the workspace behind it: its plan, how much of each limit is used, and what the key is allowed to do.
Contacts #
The people you message. A contact is identified by phone number: adding one that already exists updates it. Anywhere a contact id goes in a path, a phone number with a leading plus (“+919876543210”) works too.
-
GET
/contactsList contacts any key -
POST
/contactsCreate or update a contact write key -
POST
/contacts/bulkCreate or update many contacts write key -
GET
/contacts/{id}Get a contact any key -
PUT
/contacts/{id}Update a contact write key -
DELETE
/contacts/{id}Delete a contact write key -
POST
/contacts/{id}/tagsAdd tags to a contact write key -
DELETE
/contacts/{id}/tagsRemove tags from a contact write key
Tags and segments #
Tags are labels you put on contacts. Segments are saved filters (“tagged VIP and quiet for 30 days”) that are worked out afresh each time, and can be used as a broadcast audience.
Conversations #
A conversation is the chat with one contact on one channel: WhatsApp, website chat, Instagram, Messenger, Telegram or SMS. Assign it to a team member, close it, or read its messages.
Messages #
Send text, approved templates and files, and check what happened to them. WhatsApp only allows free text and files within 24 hours of the customer’s last message; outside that window, send an approved template.
Templates and channels #
Templates are the messages WhatsApp has approved for you to send at any time. Numbers and channels list what the workspace is connected to.
Broadcasts #
A broadcast sends one approved template to many contacts. In paths and fields it is called a campaign. Contacts who have opted out are always skipped, and a broadcast never sends more than the plan’s monthly message allowance has left.
Products #
The product list customers browse in chat. Prices are whole numbers in the currency’s smallest unit (paise, cents), so 129950 is 1,299.50.
Orders #
Orders are placed by customers in chat; the API reads them and marks them fulfilled or cancelled. Payment is collected by the workspace’s own Razorpay, Stripe or Revolut account, or inside WhatsApp with WhatsApp Pay (India), never by the API. An order paid inside WhatsApp has payment_method "whatsapp_pay", no payment_url, and fires order.paid like any other.
Bookings #
Appointments. Ask for the free times on a day, then book one. The free times follow the workspace’s opening hours, days off, staff and capacity, and a time can never be booked twice.
-
GET
/bookings/servicesList services any key -
GET
/bookings/staffList staff any key -
GET
/bookings/slotsList free times any key -
GET
/bookingsList bookings any key -
GET
/bookings/{id}Get a booking any key -
POST
/bookingsCreate a booking write key -
POST
/bookings/{id}/rescheduleReschedule a booking write key -
POST
/bookings/{id}/cancelCancel a booking write key
Pages and forms #
Build pages from code: a catalogue store, a form or order form, an event with e-tickets, an invitation, an appointment page, a poll or a bill payment page. Read what people sent in, check tickets in at the door, and add the bills a bill page collects. Amounts are whole numbers in the currency’s smallest unit.
-
GET
/pagesList pages any key -
POST
/pagesCreate a page write key -
GET
/pages/{id}Get a page any key -
PUT
/pages/{id}Update a page write key -
DELETE
/pages/{id}Delete a page write key -
GET
/pages/{id}/entriesList a page’s entries any key -
GET
/page-entries/{id}Get an entry any key -
POST
/page-entries/{id}/check-inCheck a ticket in write key -
POST
/page-entries/{id}/cancelCancel an entry write key -
GET
/pages/{id}/billsList bills any key -
POST
/pages/{id}/billsAdd a bill write key
One-time codes #
Verify a phone number from your own website or app. Ask for a code to be sent on WhatsApp or SMS, then check what the person typed. The code is made here, expires by itself and is never returned to you, so it cannot leak from your server. To send any other notification, use Send a message with an approved template.
Ad leads #
People who arrived from a click-to-WhatsApp ad or a Meta lead form.
Events and hooks #
Subscribe an address to an event and it is told the moment it happens. This is how Zapier, Make and n8n connect; your own code can use it the same way. The webhooks guide explains deliveries, signatures and retries.
No endpoint matches that. Clear the box to see them all.
For machines #
The same description is published as an OpenAPI 3.1 document at https://chatilo.me/api/v1/openapi.json. It needs no key. Import it into Postman, Insomnia or a client generator.