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

What has changed

Every change to version 1 of the API, newest first. Changes within a version only ever add; see the stability promise. This installation runs API version 1.3.1.

Version 1.3.1 #

The WhatsApp rules check. No endpoint or field has changed.

Messages

  • AddedSending text can now answer 422 policy_violation when the text breaks Meta’s rules for WhatsApp: it asks for a full card number, password, one-time code or ID document, or promotes something Meta never allows. The error’s message names the rule. Nothing is sent and nothing is counted against your limit.

What to check in your code

  • Treat policy_violation like other 422 answers: do not retry the same text. Change the wording.

Version 1.3.0 #

WhatsApp Pay. Everything that worked before works unchanged.

Orders

  • AddedThe Order object has two new fields. payment_method says how the order is paid: whatsapp_pay, payment_link or manual. payment_reference is the reference a WhatsApp Pay order was sent with, and null otherwise.
  • AddedOrders paid inside WhatsApp (India, in rupees) appear in List orders and fire the order.paid webhook exactly like orders paid by link. They have no payment_url; payment_id is the payment gateway’s own payment id.

What to check in your code

  • If you treat an order with no payment_url as "no online payment", read payment_method instead.

Version 1.2.0 #

Pages and forms, and one-time codes. Everything that worked before works unchanged.

New endpoints

New behaviour

  • ChangedAccount: a plan limit set to Unlimited is reported with "unlimited": true, and limit and remaining are null.

Version 1.1.0 #

The API grows from messaging into the whole product. Everything that worked before works unchanged.

New endpoints

New behaviour

  • AddedRead-only keys. A key can now be limited to GET requests. Existing keys keep full access. See scopes.
  • AddedRate-limit headers. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. Retry-After on a 429 is now the real number of seconds left rather than always 60.
  • AddedIdempotency-Key is honoured on every create and send, not only messages and notes.
  • AddedSeven new events: order.created, order.paid, order.fulfilled, order.cancelled, booking.created, booking.rescheduled and booking.cancelled. See events and payloads.
  • AddedNew fields. Contacts gain attributes, notes, opted_out_at, last_seen_at and updated_at. Messages gain media. Broadcasts gain template_id, number_id, scheduled_at and created_at. Paged lists gain limit and has_more. GET /me gains key.
  • AddedNew filters. Contacts by segment_id, opted_in and updated_since; conversations by assigned_to and active_since; messages by contact_id, status and since.

Changed

  • ChangedA page past the end of a list is now empty. It used to repeat the last page, which made “read until nothing comes back” loop for ever. If you relied on page being corrected to the last page, read pages instead.
  • ChangedA text longer than 1,600 characters into an SMS conversation is refused with invalid_text before sending, as it is in the inbox, instead of failing at the SMS provider.

Version 1.0.0 #

  • API keys, sent as a Bearer token; 120 requests a minute per key.
  • Contacts: list, find by phone or email, create or update, add and remove tags.
  • Messages: send text and approved templates; list messages. Conversations: list and get; add internal notes.
  • Lists of tags, templates, WhatsApp numbers, broadcasts and ad leads.
  • REST hooks for Zapier, Make and n8n, with nine events and sample deliveries.
  • Signed webhooks with three delivery attempts.

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