Chatilo
USDPrices shown in US dollars Sign in Start free trial

API: pages, forms and one-time codes

Build pages from your own systems, read entries, check tickets in, add bills, and verify phone numbers with one-time codes.

Last updated

On this page
  1. What you can do
  2. One-time codes for your website
  3. Where to start

The API covers pages and forms and one-time codes, next to contacts, messages, broadcasts, orders and bookings. The full reference, with examples in cURL, PHP, JavaScript and Python, is in the developer documentation at /docs.

What you can do

AreaExamples
Pages and formsCreate a form or any other page from a starting point, change its content, publish it, delete it
EntriesList what people sent through a page, get one entry, cancel one
TicketsCheck a ticket in by its code, for your own scanner app
BillsAdd bills to a bill payment page from your billing system, list paid and unpaid ones
One-time codesSend a code on WhatsApp or SMS and check what the person typed
NotificationsSend an approved template when something happens in your own system

One-time codes for your website

Use them for sign-in, sign-up or checkout on your own site.

  1. Your server asks for a code to be sent to the person's number.
  2. The person types the code on your site.
  3. Your server asks whether the code is right.

The code is made and checked here and is never given to your server, so it cannot leak from it. A number can get one code every 30 seconds and five an hour. Five wrong tries lock a code.

On WhatsApp the code travels in an approved template. An authentication template is the right kind: create it in WhatsApp Manager, then click Sync on the Templates page.

Where to start

  1. Open API and webhooks and create a key with Read and write.
  2. Open /docs and follow one of the guides:

    • Verify a phone number with a one-time code
    • Send notifications from your website
    • Build a form or page from code

See also For developers.

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