Chatilo
USDPrices shown in US dollars Sign in Start free trial
API reference

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.

List pages #

GET/api/v1/pages

Works with any key Paged

Every page in the workspace, newest first.

Query parameters

kindstring
Only pages of one kind: store, form, event, invite, booking, poll or bill.
pageinteger
Which page, starting at 1. A page past the end is an empty list.
limitinteger
How many per page: 1 to 100. 50 when left out.

Returns HTTP 200

okboolean
Always true on success.
pageslist of Page
The pages on this page of results.
pageinteger
The page you asked for.
totalinteger
How many items match in all.
limitinteger
Items per page.
has_moreboolean
True while there is a next page.

Errors

401unauthorized
The Authorization header is missing, or the key is wrong or deleted.
422invalid_kind
kind is not one of the seven kinds.
429rate_limited
More than 120 requests in a minute with this key. Wait for the seconds in Retry-After.

Plus the errors any request can get.

Request
curl "https://chatilo.me/api/v1/pages?kind=form" \
  -H "Authorization: Bearer YOUR_API_KEY"
<?php
$apiKey = 'YOUR_API_KEY';

$ch = curl_init('https://chatilo.me/api/v1/pages?kind=form');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$result = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

if ($status >= 400) {
    throw new RuntimeException($result['error']['code'] . ': ' . $result['error']['message']);
}
print_r($result);
const apiKey = 'YOUR_API_KEY';

const response = await fetch("https://chatilo.me/api/v1/pages?kind=form", {
  headers: {
    Authorization: `Bearer ${apiKey}`,
  },
});
const result = await response.json();

if (!response.ok) {
  throw new Error(`${result.error.code}: ${result.error.message}`);
}
console.log(result);
import requests

api_key = "YOUR_API_KEY"

response = requests.get(
    "https://chatilo.me/api/v1/pages?kind=form",
    headers={"Authorization": f"Bearer {api_key}"},
    timeout=30,
)
result = response.json()

if not response.ok:
    raise RuntimeError(f"{result['error']['code']}: {result['error']['message']}")
print(result)
Response · HTTP 200
{
    "ok": true,
    "pages": [
        {
            "id": 7,
            "kind": "form",
            "title": "Festive hamper order form",
            "slug": "festive-hamper-order",
            "url": "https://chat.example.com/p/festive-hamper-order",
            "status": "live",
            "design": "fresh",
            "color": null,
            "views": 184,
            "entries": 4,
            "content": {
                "headline": "Order your festive hamper",
                "intro": "Choose your hampers and tell us where to send them.",
                "button": "Place order",
                "items": [
                    {
                        "name": "Classic hamper",
                        "price": 149900
                    }
                ],
                "fields": [
                    {
                        "label": "Delivery address",
                        "type": "textarea",
                        "required": true,
                        "options": []
                    }
                ]
            },
            "created_at": "2026-01-31T09:30:00Z",
            "updated_at": "2026-01-31T09:30:00Z"
        }
    ],
    "page": 1,
    "total": 1,
    "limit": 50,
    "has_more": false
}

Create a page #

POST/api/v1/pages

Needs a read-and-write key Accepts Idempotency-Key

Builds a page from a starting point and lays your content over it. This is how you build a form, an event or any other page from code. It starts as a draft unless you send publish.

Body JSON

templatestringrequired
The starting point: store_general, store_clothing, store_menu, form_order, form_enquiry, form_service, form_registration, event_tickets, event_workshop, event_eticket, invite_wedding, invite_birthday, invite_event, invite_housewarming, booking_doctor, booking_salon, booking_service, poll_quick, poll_feedback, bill_utility or bill_fees.
titlestring
The name the team sees. The starting point’s name when left out.
designstring
fresh, boutique or night. The starting point’s own design when left out.
colorstring
A button colour as #rrggbb.
publishboolean
true makes the page live straight away.
contentobject
An object with any of: headline, intro, notice, button, thanks, about, phone, ask_email; fields as [{"label", "type", "required", "options"}] where type is text, textarea, number, email, date, time, select or checks; sections as [{"title", "text"}]; style as {"font_head", "font_body", "text_size", "head_size", "bold", "italic", "upper", "c_bg", "c_text", "c_head", "c_button_text", "corners", "align"}; and the keys of the page’s kind: items [{"name", "price"}] for a form, tickets [{"name", "price", "limit"}] with starts and venue for an event, options [] for a poll, programme [{"time", "title"}] with starts, venue, map_url and rsvp_on for an invitation, account_label and mode for a bill page. Prices are in the smallest unit of the currency.

Returns HTTP 201

okboolean
Always true on success.
pagePage
The new page.

Errors

401unauthorized
The Authorization header is missing, or the key is wrong or deleted.
403page_limit
The workspace already has 50 pages.
403read_only_key
A read-only key was used for a request that changes something.
409idempotency_conflict
A request with the same Idempotency-Key is still running.
422invalid_idempotency_key
The Idempotency-Key is longer than 200 characters.
422invalid_page
The content cannot be saved: an empty headline, an unknown design, or a poll with fewer than two options.
422unknown_starting_point
template is not one of the starting points.
429rate_limited
More than 120 requests in a minute with this key. Wait for the seconds in Retry-After.

Plus the errors any request can get.

Request
curl -X POST "https://chatilo.me/api/v1/pages" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "form_order",
    "title": "Festive hamper order form",
    "publish": true,
    "content": {
        "headline": "Order your festive hamper",
        "items": [
            {
                "name": "Classic hamper",
                "price": 149900
            }
        ]
    }
}'
<?php
$apiKey = 'YOUR_API_KEY';

$ch = curl_init('https://chatilo.me/api/v1/pages');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey, 'Content-Type: application/json'],
    CURLOPT_POSTFIELDS => json_encode([
        'template' => 'form_order',
        'title' => 'Festive hamper order form',
        'publish' => true,
        'content' => [
            'headline' => 'Order your festive hamper',
            'items' => [
                [
                    'name' => 'Classic hamper',
                    'price' => 149900,
                ],
            ],
        ],
    ]),
]);
$result = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

if ($status >= 400) {
    throw new RuntimeException($result['error']['code'] . ': ' . $result['error']['message']);
}
print_r($result);
const apiKey = 'YOUR_API_KEY';

const response = await fetch("https://chatilo.me/api/v1/pages", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${apiKey}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
      "template": "form_order",
      "title": "Festive hamper order form",
      "publish": true,
      "content": {
          "headline": "Order your festive hamper",
          "items": [
              {
                  "name": "Classic hamper",
                  "price": 149900
              }
          ]
      }
  }),
});
const result = await response.json();

if (!response.ok) {
  throw new Error(`${result.error.code}: ${result.error.message}`);
}
console.log(result);
import requests

api_key = "YOUR_API_KEY"

response = requests.post(
    "https://chatilo.me/api/v1/pages",
    headers={"Authorization": f"Bearer {api_key}"},
    json={
        "template": "form_order",
        "title": "Festive hamper order form",
        "publish": True,
        "content": {
            "headline": "Order your festive hamper",
            "items": [
                {
                    "name": "Classic hamper",
                    "price": 149900,
                },
            ],
        },
    },
    timeout=30,
)
result = response.json()

if not response.ok:
    raise RuntimeError(f"{result['error']['code']}: {result['error']['message']}")
print(result)
Response · HTTP 201
{
    "ok": true,
    "page": {
        "id": 7,
        "kind": "form",
        "title": "Festive hamper order form",
        "slug": "festive-hamper-order",
        "url": "https://chat.example.com/p/festive-hamper-order",
        "status": "live",
        "design": "fresh",
        "color": null,
        "views": 184,
        "entries": 4,
        "content": {
            "headline": "Order your festive hamper",
            "intro": "Choose your hampers and tell us where to send them.",
            "button": "Place order",
            "items": [
                {
                    "name": "Classic hamper",
                    "price": 149900
                }
            ],
            "fields": [
                {
                    "label": "Delivery address",
                    "type": "textarea",
                    "required": true,
                    "options": []
                }
            ]
        },
        "created_at": "2026-01-31T09:30:00Z",
        "updated_at": "2026-01-31T09:30:00Z"
    }
}

Get a page #

GET/api/v1/pages/{id}

Works with any key

One page with all of its content.

Path

idstringrequired
The page’s id, or its link name such as festive-hamper-order.

Returns HTTP 200

okboolean
Always true on success.
pagePage
The page.

Errors

401unauthorized
The Authorization header is missing, or the key is wrong or deleted.
404page_not_found
No page with that id or link name in this workspace.
429rate_limited
More than 120 requests in a minute with this key. Wait for the seconds in Retry-After.

Plus the errors any request can get.

Request
curl "https://chatilo.me/api/v1/pages/7" \
  -H "Authorization: Bearer YOUR_API_KEY"
<?php
$apiKey = 'YOUR_API_KEY';

$ch = curl_init('https://chatilo.me/api/v1/pages/7');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$result = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

if ($status >= 400) {
    throw new RuntimeException($result['error']['code'] . ': ' . $result['error']['message']);
}
print_r($result);
const apiKey = 'YOUR_API_KEY';

const response = await fetch("https://chatilo.me/api/v1/pages/7", {
  headers: {
    Authorization: `Bearer ${apiKey}`,
  },
});
const result = await response.json();

if (!response.ok) {
  throw new Error(`${result.error.code}: ${result.error.message}`);
}
console.log(result);
import requests

api_key = "YOUR_API_KEY"

response = requests.get(
    "https://chatilo.me/api/v1/pages/7",
    headers={"Authorization": f"Bearer {api_key}"},
    timeout=30,
)
result = response.json()

if not response.ok:
    raise RuntimeError(f"{result['error']['code']}: {result['error']['message']}")
print(result)
Response · HTTP 200
{
    "ok": true,
    "page": {
        "id": 7,
        "kind": "form",
        "title": "Festive hamper order form",
        "slug": "festive-hamper-order",
        "url": "https://chat.example.com/p/festive-hamper-order",
        "status": "live",
        "design": "fresh",
        "color": null,
        "views": 184,
        "entries": 4,
        "content": {
            "headline": "Order your festive hamper",
            "intro": "Choose your hampers and tell us where to send them.",
            "button": "Place order",
            "items": [
                {
                    "name": "Classic hamper",
                    "price": 149900
                }
            ],
            "fields": [
                {
                    "label": "Delivery address",
                    "type": "textarea",
                    "required": true,
                    "options": []
                }
            ]
        },
        "created_at": "2026-01-31T09:30:00Z",
        "updated_at": "2026-01-31T09:30:00Z"
    }
}

Update a page #

PUT/api/v1/pages/{id}

Needs a read-and-write key

Changes what you send and leaves the rest. Inside content, a list you send (fields, items, tickets, options, sections, programme) replaces the whole list.

Path

idstringrequired
The page’s id, or its link name such as festive-hamper-order.

Body JSON

titlestring
A new name for the team.
publishboolean
true to make it live, false to take it back to a draft.
designstring
fresh, boutique or night.
colorstring
A button colour as #rrggbb. An empty string goes back to the default colours.
contentobject
An object with any of: headline, intro, notice, button, thanks, about, phone, ask_email; fields as [{"label", "type", "required", "options"}] where type is text, textarea, number, email, date, time, select or checks; sections as [{"title", "text"}]; style as {"font_head", "font_body", "text_size", "head_size", "bold", "italic", "upper", "c_bg", "c_text", "c_head", "c_button_text", "corners", "align"}; and the keys of the page’s kind: items [{"name", "price"}] for a form, tickets [{"name", "price", "limit"}] with starts and venue for an event, options [] for a poll, programme [{"time", "title"}] with starts, venue, map_url and rsvp_on for an invitation, account_label and mode for a bill page. Prices are in the smallest unit of the currency.

Returns HTTP 200

okboolean
Always true on success.
pagePage
The page after the change.

Errors

401unauthorized
The Authorization header is missing, or the key is wrong or deleted.
403read_only_key
A read-only key was used for a request that changes something.
404page_not_found
No page with that id or link name in this workspace.
422invalid_page
The content cannot be saved: an empty headline, an unknown design, or a poll with fewer than two options.
429rate_limited
More than 120 requests in a minute with this key. Wait for the seconds in Retry-After.

Plus the errors any request can get.

Request
curl -X PUT "https://chatilo.me/api/v1/pages/7" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "publish": true,
    "content": {
        "headline": "Order your festive hamper"
    }
}'
<?php
$apiKey = 'YOUR_API_KEY';

$ch = curl_init('https://chatilo.me/api/v1/pages/7');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'PUT',
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey, 'Content-Type: application/json'],
    CURLOPT_POSTFIELDS => json_encode([
        'publish' => true,
        'content' => [
            'headline' => 'Order your festive hamper',
        ],
    ]),
]);
$result = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

if ($status >= 400) {
    throw new RuntimeException($result['error']['code'] . ': ' . $result['error']['message']);
}
print_r($result);
const apiKey = 'YOUR_API_KEY';

const response = await fetch("https://chatilo.me/api/v1/pages/7", {
  method: 'PUT',
  headers: {
    Authorization: `Bearer ${apiKey}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
      "publish": true,
      "content": {
          "headline": "Order your festive hamper"
      }
  }),
});
const result = await response.json();

if (!response.ok) {
  throw new Error(`${result.error.code}: ${result.error.message}`);
}
console.log(result);
import requests

api_key = "YOUR_API_KEY"

response = requests.put(
    "https://chatilo.me/api/v1/pages/7",
    headers={"Authorization": f"Bearer {api_key}"},
    json={
        "publish": True,
        "content": {
            "headline": "Order your festive hamper",
        },
    },
    timeout=30,
)
result = response.json()

if not response.ok:
    raise RuntimeError(f"{result['error']['code']}: {result['error']['message']}")
print(result)
Response · HTTP 200
{
    "ok": true,
    "page": {
        "id": 7,
        "kind": "form",
        "title": "Festive hamper order form",
        "slug": "festive-hamper-order",
        "url": "https://chat.example.com/p/festive-hamper-order",
        "status": "live",
        "design": "fresh",
        "color": null,
        "views": 184,
        "entries": 4,
        "content": {
            "headline": "Order your festive hamper",
            "intro": "Choose your hampers and tell us where to send them.",
            "button": "Place order",
            "items": [
                {
                    "name": "Classic hamper",
                    "price": 149900
                }
            ],
            "fields": [
                {
                    "label": "Delivery address",
                    "type": "textarea",
                    "required": true,
                    "options": []
                }
            ]
        },
        "created_at": "2026-01-31T09:30:00Z",
        "updated_at": "2026-01-31T09:30:00Z"
    }
}

Delete a page #

DELETE/api/v1/pages/{id}

Needs a read-and-write key

Deletes the page with its entries and bills. Orders it created stay in Orders.

Path

idstringrequired
The page’s id, or its link name such as festive-hamper-order.

Returns HTTP 200

okboolean
Always true on success.
deletedboolean
Always true.

Errors

401unauthorized
The Authorization header is missing, or the key is wrong or deleted.
403read_only_key
A read-only key was used for a request that changes something.
404page_not_found
No page with that id or link name in this workspace.
429rate_limited
More than 120 requests in a minute with this key. Wait for the seconds in Retry-After.

Plus the errors any request can get.

Request
curl -X DELETE "https://chatilo.me/api/v1/pages/7" \
  -H "Authorization: Bearer YOUR_API_KEY"
<?php
$apiKey = 'YOUR_API_KEY';

$ch = curl_init('https://chatilo.me/api/v1/pages/7');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'DELETE',
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$result = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

if ($status >= 400) {
    throw new RuntimeException($result['error']['code'] . ': ' . $result['error']['message']);
}
print_r($result);
const apiKey = 'YOUR_API_KEY';

const response = await fetch("https://chatilo.me/api/v1/pages/7", {
  method: 'DELETE',
  headers: {
    Authorization: `Bearer ${apiKey}`,
  },
});
const result = await response.json();

if (!response.ok) {
  throw new Error(`${result.error.code}: ${result.error.message}`);
}
console.log(result);
import requests

api_key = "YOUR_API_KEY"

response = requests.delete(
    "https://chatilo.me/api/v1/pages/7",
    headers={"Authorization": f"Bearer {api_key}"},
    timeout=30,
)
result = response.json()

if not response.ok:
    raise RuntimeError(f"{result['error']['code']}: {result['error']['message']}")
print(result)
Response · HTTP 200
{
    "ok": true,
    "deleted": true
}

List a page’s entries #

GET/api/v1/pages/{id}/entries

Works with any key Paged

What people sent through the page, newest first: orders, responses, tickets, RSVPs, appointments, votes or bill payments.

Path

idstringrequired
The page’s id, or its link name such as festive-hamper-order.

Query parameters

statusstring
Only entries in one status: new, pending, paid, confirmed, used, maybe, declined or cancelled.
sincedate-time
Only entries sent at or after this time.
pageinteger
Which page, starting at 1. A page past the end is an empty list.
limitinteger
How many per page: 1 to 100. 50 when left out.

Returns HTTP 200

okboolean
Always true on success.
entrieslist of PageEntry
The entries on this page of results.
pageinteger
The page you asked for.
pagesinteger
How many pages there are at this limit.
totalinteger
How many items match in all.
limitinteger
Items per page.
has_moreboolean
True while there is a next page.

Errors

401unauthorized
The Authorization header is missing, or the key is wrong or deleted.
404page_not_found
No page with that id or link name in this workspace.
422invalid_date
since isn’t a date and time.
422invalid_status
status is not one of the entry statuses.
429rate_limited
More than 120 requests in a minute with this key. Wait for the seconds in Retry-After.

Plus the errors any request can get.

Request
curl "https://chatilo.me/api/v1/pages/7/entries?status=paid" \
  -H "Authorization: Bearer YOUR_API_KEY"
<?php
$apiKey = 'YOUR_API_KEY';

$ch = curl_init('https://chatilo.me/api/v1/pages/7/entries?status=paid');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$result = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

if ($status >= 400) {
    throw new RuntimeException($result['error']['code'] . ': ' . $result['error']['message']);
}
print_r($result);
const apiKey = 'YOUR_API_KEY';

const response = await fetch("https://chatilo.me/api/v1/pages/7/entries?status=paid", {
  headers: {
    Authorization: `Bearer ${apiKey}`,
  },
});
const result = await response.json();

if (!response.ok) {
  throw new Error(`${result.error.code}: ${result.error.message}`);
}
console.log(result);
import requests

api_key = "YOUR_API_KEY"

response = requests.get(
    "https://chatilo.me/api/v1/pages/7/entries?status=paid",
    headers={"Authorization": f"Bearer {api_key}"},
    timeout=30,
)
result = response.json()

if not response.ok:
    raise RuntimeError(f"{result['error']['code']}: {result['error']['message']}")
print(result)
Response · HTTP 200
{
    "ok": true,
    "entries": [
        {
            "id": 91,
            "page_id": 7,
            "kind": "form",
            "status": "paid",
            "name": "Grace Miller",
            "phone": "919876543210",
            "email": "[email protected]",
            "code": null,
            "quantity": 2,
            "amount": 299800,
            "currency": "INR",
            "items": [
                {
                    "name": "Classic hamper",
                    "quantity": 2,
                    "price": 149900
                }
            ],
            "answers": [
                {
                    "question": "Delivery address",
                    "answer": "12 Main Street, Denver"
                }
            ],
            "contact_id": 1001,
            "order_id": 3001,
            "booking_id": null,
            "receipt_url": "https://chat.example.com/r/4f9a2c7e1b8d4f6a9c0e2b5d7f1a3c6e",
            "checked_in_at": null,
            "created_at": "2026-01-31T09:30:00Z"
        }
    ],
    "page": 1,
    "pages": 1,
    "total": 1,
    "limit": 50,
    "has_more": false
}

Get an entry #

GET/api/v1/page-entries/{id}

Works with any key

One entry by its id. A ticket can also be looked up by its code, which is what a scanner at the door reads.

Path

idstringrequired
The entry’s id, or a ticket’s code such as TFKH6NKC.

Returns HTTP 200

okboolean
Always true on success.
entryPageEntry
The entry.

Errors

401unauthorized
The Authorization header is missing, or the key is wrong or deleted.
404entry_not_found
No entry with that id or ticket code in this workspace.
429rate_limited
More than 120 requests in a minute with this key. Wait for the seconds in Retry-After.

Plus the errors any request can get.

Request
curl "https://chatilo.me/api/v1/page-entries/91" \
  -H "Authorization: Bearer YOUR_API_KEY"
<?php
$apiKey = 'YOUR_API_KEY';

$ch = curl_init('https://chatilo.me/api/v1/page-entries/91');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$result = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

if ($status >= 400) {
    throw new RuntimeException($result['error']['code'] . ': ' . $result['error']['message']);
}
print_r($result);
const apiKey = 'YOUR_API_KEY';

const response = await fetch("https://chatilo.me/api/v1/page-entries/91", {
  headers: {
    Authorization: `Bearer ${apiKey}`,
  },
});
const result = await response.json();

if (!response.ok) {
  throw new Error(`${result.error.code}: ${result.error.message}`);
}
console.log(result);
import requests

api_key = "YOUR_API_KEY"

response = requests.get(
    "https://chatilo.me/api/v1/page-entries/91",
    headers={"Authorization": f"Bearer {api_key}"},
    timeout=30,
)
result = response.json()

if not response.ok:
    raise RuntimeError(f"{result['error']['code']}: {result['error']['message']}")
print(result)
Response · HTTP 200
{
    "ok": true,
    "entry": {
        "id": 91,
        "page_id": 7,
        "kind": "form",
        "status": "paid",
        "name": "Grace Miller",
        "phone": "919876543210",
        "email": "[email protected]",
        "code": null,
        "quantity": 2,
        "amount": 299800,
        "currency": "INR",
        "items": [
            {
                "name": "Classic hamper",
                "quantity": 2,
                "price": 149900
            }
        ],
        "answers": [
            {
                "question": "Delivery address",
                "answer": "12 Main Street, Denver"
            }
        ],
        "contact_id": 1001,
        "order_id": 3001,
        "booking_id": null,
        "receipt_url": "https://chat.example.com/r/4f9a2c7e1b8d4f6a9c0e2b5d7f1a3c6e",
        "checked_in_at": null,
        "created_at": "2026-01-31T09:30:00Z"
    }
}

Check a ticket in #

POST/api/v1/page-entries/{id}/check-in

Needs a read-and-write key

Marks an event ticket as used. A ticket can be checked in once, and only when it is paid or was free.

Path

idstringrequired
The entry’s id, or a ticket’s code such as TFKH6NKC.

Returns HTTP 200

okboolean
Always true on success.
entryPageEntry
The ticket, now with the status used.

Errors

401unauthorized
The Authorization header is missing, or the key is wrong or deleted.
403read_only_key
A read-only key was used for a request that changes something.
404entry_not_found
No entry with that id or ticket code in this workspace.
409already_checked_in
The ticket was checked in before.
409ticket_not_valid
The ticket is unpaid or cancelled.
422not_a_ticket
The entry is not an event ticket.
429rate_limited
More than 120 requests in a minute with this key. Wait for the seconds in Retry-After.

Plus the errors any request can get.

Request
curl -X POST "https://chatilo.me/api/v1/page-entries/TFKH6NKC/check-in" \
  -H "Authorization: Bearer YOUR_API_KEY"
<?php
$apiKey = 'YOUR_API_KEY';

$ch = curl_init('https://chatilo.me/api/v1/page-entries/TFKH6NKC/check-in');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$result = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

if ($status >= 400) {
    throw new RuntimeException($result['error']['code'] . ': ' . $result['error']['message']);
}
print_r($result);
const apiKey = 'YOUR_API_KEY';

const response = await fetch("https://chatilo.me/api/v1/page-entries/TFKH6NKC/check-in", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${apiKey}`,
  },
});
const result = await response.json();

if (!response.ok) {
  throw new Error(`${result.error.code}: ${result.error.message}`);
}
console.log(result);
import requests

api_key = "YOUR_API_KEY"

response = requests.post(
    "https://chatilo.me/api/v1/page-entries/TFKH6NKC/check-in",
    headers={"Authorization": f"Bearer {api_key}"},
    timeout=30,
)
result = response.json()

if not response.ok:
    raise RuntimeError(f"{result['error']['code']}: {result['error']['message']}")
print(result)
Response · HTTP 200
{
    "ok": true,
    "entry": {
        "id": 91,
        "page_id": 7,
        "kind": "event",
        "status": "used",
        "name": "Grace Miller",
        "phone": "919876543210",
        "email": "[email protected]",
        "code": "TFKH6NKC",
        "quantity": 2,
        "amount": 299800,
        "currency": "INR",
        "items": [
            {
                "name": "Classic hamper",
                "quantity": 2,
                "price": 149900
            }
        ],
        "answers": [
            {
                "question": "Delivery address",
                "answer": "12 Main Street, Denver"
            }
        ],
        "contact_id": 1001,
        "order_id": 3001,
        "booking_id": null,
        "receipt_url": "https://chat.example.com/r/4f9a2c7e1b8d4f6a9c0e2b5d7f1a3c6e",
        "checked_in_at": "2026-01-31T09:30:00Z",
        "created_at": "2026-01-31T09:30:00Z"
    }
}

Cancel an entry #

POST/api/v1/page-entries/{id}/cancel

Needs a read-and-write key

Marks an entry cancelled. Its order is left as it is: cancel or refund that in Orders.

Path

idstringrequired
The entry’s id, or a ticket’s code such as TFKH6NKC.

Returns HTTP 200

okboolean
Always true on success.
entryPageEntry
The entry, now cancelled.

Errors

401unauthorized
The Authorization header is missing, or the key is wrong or deleted.
403read_only_key
A read-only key was used for a request that changes something.
404entry_not_found
No entry with that id or ticket code in this workspace.
429rate_limited
More than 120 requests in a minute with this key. Wait for the seconds in Retry-After.

Plus the errors any request can get.

Request
curl -X POST "https://chatilo.me/api/v1/page-entries/91/cancel" \
  -H "Authorization: Bearer YOUR_API_KEY"
<?php
$apiKey = 'YOUR_API_KEY';

$ch = curl_init('https://chatilo.me/api/v1/page-entries/91/cancel');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$result = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

if ($status >= 400) {
    throw new RuntimeException($result['error']['code'] . ': ' . $result['error']['message']);
}
print_r($result);
const apiKey = 'YOUR_API_KEY';

const response = await fetch("https://chatilo.me/api/v1/page-entries/91/cancel", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${apiKey}`,
  },
});
const result = await response.json();

if (!response.ok) {
  throw new Error(`${result.error.code}: ${result.error.message}`);
}
console.log(result);
import requests

api_key = "YOUR_API_KEY"

response = requests.post(
    "https://chatilo.me/api/v1/page-entries/91/cancel",
    headers={"Authorization": f"Bearer {api_key}"},
    timeout=30,
)
result = response.json()

if not response.ok:
    raise RuntimeError(f"{result['error']['code']}: {result['error']['message']}")
print(result)
Response · HTTP 200
{
    "ok": true,
    "entry": {
        "id": 91,
        "page_id": 7,
        "kind": "form",
        "status": "cancelled",
        "name": "Grace Miller",
        "phone": "919876543210",
        "email": "[email protected]",
        "code": null,
        "quantity": 2,
        "amount": 299800,
        "currency": "INR",
        "items": [
            {
                "name": "Classic hamper",
                "quantity": 2,
                "price": 149900
            }
        ],
        "answers": [
            {
                "question": "Delivery address",
                "answer": "12 Main Street, Denver"
            }
        ],
        "contact_id": 1001,
        "order_id": 3001,
        "booking_id": null,
        "receipt_url": "https://chat.example.com/r/4f9a2c7e1b8d4f6a9c0e2b5d7f1a3c6e",
        "checked_in_at": null,
        "created_at": "2026-01-31T09:30:00Z"
    }
}

List bills #

GET/api/v1/pages/{id}/bills

Works with any key Paged

The bills on a bill payment page, newest first.

Path

idstringrequired
The page’s id, or its link name such as festive-hamper-order.

Query parameters

statusstring
unpaid or paid.
account_nostring
Only the bills of one account number.
pageinteger
Which page, starting at 1. A page past the end is an empty list.
limitinteger
How many per page: 1 to 100. 50 when left out.

Returns HTTP 200

okboolean
Always true on success.
billslist of Bill
The bills on this page of results.
pageinteger
The page you asked for.
pagesinteger
How many pages there are at this limit.
totalinteger
How many items match in all.
limitinteger
Items per page.
has_moreboolean
True while there is a next page.

Errors

401unauthorized
The Authorization header is missing, or the key is wrong or deleted.
404page_not_found
No page with that id or link name in this workspace.
422not_a_bill_page
That page is not a bill payment page.
429rate_limited
More than 120 requests in a minute with this key. Wait for the seconds in Retry-After.

Plus the errors any request can get.

Request
curl "https://chatilo.me/api/v1/pages/9/bills?status=unpaid" \
  -H "Authorization: Bearer YOUR_API_KEY"
<?php
$apiKey = 'YOUR_API_KEY';

$ch = curl_init('https://chatilo.me/api/v1/pages/9/bills?status=unpaid');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$result = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

if ($status >= 400) {
    throw new RuntimeException($result['error']['code'] . ': ' . $result['error']['message']);
}
print_r($result);
const apiKey = 'YOUR_API_KEY';

const response = await fetch("https://chatilo.me/api/v1/pages/9/bills?status=unpaid", {
  headers: {
    Authorization: `Bearer ${apiKey}`,
  },
});
const result = await response.json();

if (!response.ok) {
  throw new Error(`${result.error.code}: ${result.error.message}`);
}
console.log(result);
import requests

api_key = "YOUR_API_KEY"

response = requests.get(
    "https://chatilo.me/api/v1/pages/9/bills?status=unpaid",
    headers={"Authorization": f"Bearer {api_key}"},
    timeout=30,
)
result = response.json()

if not response.ok:
    raise RuntimeError(f"{result['error']['code']}: {result['error']['message']}")
print(result)
Response · HTTP 200
{
    "ok": true,
    "bills": [
        {
            "id": 14,
            "page_id": 9,
            "account_no": "KL-4471",
            "name": "Logan Menon",
            "period": "November 2026",
            "amount": 184500,
            "currency": "INR",
            "due_on": "2026-12-15",
            "status": "unpaid",
            "paid_at": null
        }
    ],
    "page": 1,
    "pages": 1,
    "total": 1,
    "limit": 50,
    "has_more": false
}

Add a bill #

POST/api/v1/pages/{id}/bills

Needs a read-and-write key Accepts Idempotency-Key

Adds a bill for an account number, in the workspace’s currency. The payer finds it on the page by that number, and it is marked paid by itself when the payment arrives.

Path

idstringrequired
The page’s id, or its link name such as festive-hamper-order.

Body JSON

account_nostringrequired
The payer’s account or consumer number.
amountintegerrequired
The amount due in the smallest unit of the currency, above zero.
namestring
The payer’s name.
phonestring
The payer’s phone number, for your own records.
periodstring
What the bill is for, such as “November 2026”.
due_onstring
The due date as YYYY-MM-DD.

Returns HTTP 201

okboolean
Always true on success.
billBill
The new bill.

Errors

401unauthorized
The Authorization header is missing, or the key is wrong or deleted.
403read_only_key
A read-only key was used for a request that changes something.
404page_not_found
No page with that id or link name in this workspace.
409idempotency_conflict
A request with the same Idempotency-Key is still running.
422invalid_bill
account_no or amount is missing, or amount is not above zero.
422invalid_idempotency_key
The Idempotency-Key is longer than 200 characters.
422not_a_bill_page
That page is not a bill payment page.
429rate_limited
More than 120 requests in a minute with this key. Wait for the seconds in Retry-After.

Plus the errors any request can get.

Request
curl -X POST "https://chatilo.me/api/v1/pages/9/bills" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "account_no": "KL-4471",
    "amount": 184500,
    "name": "Logan Menon",
    "period": "November 2026",
    "due_on": "2026-12-15"
}'
<?php
$apiKey = 'YOUR_API_KEY';

$ch = curl_init('https://chatilo.me/api/v1/pages/9/bills');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey, 'Content-Type: application/json'],
    CURLOPT_POSTFIELDS => json_encode([
        'account_no' => 'KL-4471',
        'amount' => 184500,
        'name' => 'Logan Menon',
        'period' => 'November 2026',
        'due_on' => '2026-12-15',
    ]),
]);
$result = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

if ($status >= 400) {
    throw new RuntimeException($result['error']['code'] . ': ' . $result['error']['message']);
}
print_r($result);
const apiKey = 'YOUR_API_KEY';

const response = await fetch("https://chatilo.me/api/v1/pages/9/bills", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${apiKey}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
      "account_no": "KL-4471",
      "amount": 184500,
      "name": "Logan Menon",
      "period": "November 2026",
      "due_on": "2026-12-15"
  }),
});
const result = await response.json();

if (!response.ok) {
  throw new Error(`${result.error.code}: ${result.error.message}`);
}
console.log(result);
import requests

api_key = "YOUR_API_KEY"

response = requests.post(
    "https://chatilo.me/api/v1/pages/9/bills",
    headers={"Authorization": f"Bearer {api_key}"},
    json={
        "account_no": "KL-4471",
        "amount": 184500,
        "name": "Logan Menon",
        "period": "November 2026",
        "due_on": "2026-12-15",
    },
    timeout=30,
)
result = response.json()

if not response.ok:
    raise RuntimeError(f"{result['error']['code']}: {result['error']['message']}")
print(result)
Response · HTTP 201
{
    "ok": true,
    "bill": {
        "id": 14,
        "page_id": 9,
        "account_no": "KL-4471",
        "name": "Logan Menon",
        "period": "November 2026",
        "amount": 184500,
        "currency": "INR",
        "due_on": "2026-12-15",
        "status": "unpaid",
        "paid_at": null
    }
}

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