API reference
REST, JSON, HTTPS. Base URL:
https://www.zionaro.com/api/dev/v1
- Apply and wait for approval (we email you).
- Create an API key in your dashboard. Copy it — it is shown only once.
- Give your Developer ID to the restaurant owner. They open Settings → API & developers, enter it and choose what you may see.
- Call
GET /restaurantsto get the restaurant ids, then the other endpoints.
OpenAPI file (for Postman, Insomnia or code generators): https://www.zionaro.com/api/dev/v1/openapi.json
Money is always in paise (minor units): 25000 = ₹250.00. Times are ISO-8601 with the UTC offset (for example +05:30).
All endpoints
14 endpoints. All are read-only except marking a dish available / sold out — no outside app can place, approve or seat anything; that stays with the restaurant's staff.
| Method | Path | Permission |
|---|---|---|
| GET | /me | any key |
| GET | /restaurants | any key |
| GET | /restaurants/{restaurant}/branches | branches:read |
| GET | /restaurants/{restaurant}/branches/{branch}/menu | menu:read |
| PATCH | /restaurants/{restaurant}/branches/{branch}/menu-items/{item}/availability | menu:availability |
| GET | /restaurants/{restaurant}/branches/{branch}/tables | tables:read |
| GET | /restaurants/{restaurant}/branches/{branch}/orders | orders:read |
| GET | /restaurants/{restaurant}/branches/{branch}/orders/{order} | orders:read |
| GET | /restaurants/{restaurant}/branches/{branch}/online-orders | online-orders:read |
| GET | /restaurants/{restaurant}/branches/{branch}/kitchen-tickets | kitchen:read |
| GET | /restaurants/{restaurant}/branches/{branch}/waitlist | waitlist:read |
| GET | /restaurants/{restaurant}/branches/{branch}/reservations | reservations:read |
| GET | /restaurants/{restaurant}/branches/{branch}/office-lunch | office-lunch:read |
| GET | /restaurants/{restaurant}/reports/sales | reports:read |
What's new
- v1.32New: GET …/office-lunch (scope office-lunch:read) for home kitchens: offices, slots with capacity / booked, office runs and the cooking list. Online orders include "office" for office lunch orders.
- v1.31New: GET …/waitlist (scope waitlist:read) and GET …/reservations (scope reservations:read). Tables now include the live forecast (state, likely_free_in_minutes, next_booking_at). Branches show waiting_list, table_booking and guest_link.
- v1.30Restaurants include business_type (restaurant or home_food). Menu dishes include about, ingredients, serves, spice_level and prep_minutes. Orders include source (table, pos, online) and pos_ticket. Online orders include payment_choice. POS counter tickets are no longer listed as tables.
- v1.27Developer API launched: API keys, scopes, menu, tables, orders, online orders, kitchen tickets and sales report.
New fields are only ever added — existing fields keep their names and meaning, so older integrations keep working. Ignore fields you don't know.
API keys
Send your key in the Authorization header on every call. Never put keys in apps, websites or URLs that others can see — call the API from your server.
- Keys start with
dq_live_and are 48 characters long. - Each key has its own permissions, optional IP allow-list and optional expiry (30–365 days).
- Revoke a key any time in your dashboard; it stops working immediately.
Permissions (scopes)
A call works only if the permission is allowed for your account by us, is on the key, and was granted by the restaurant.
| branches:read | Branches. Read branch names, addresses and online-ordering status. |
| menu:read | Menu. Read categories, dishes, prices, options and availability. |
| menu:availability | Menu availability. Mark a dish as available or sold out (nothing else can change). |
| tables:read | Tables. Read table numbers, seats and status (no QR codes). |
| orders:read | Orders. Read approved orders with dishes and totals. Guest phone numbers are never shared. |
| online-orders:read | Online orders. Read pickup / delivery orders and their status (address shown only to the restaurant). |
| kitchen:read | Kitchen tickets. Read kitchen tickets and their status. |
| reports:read | Sales reports. Read sales totals by day, branch and channel. |
| waitlist:read | Waiting list. Read the live waiting list: group sizes, place in line, estimated wait and suggested table (first names only, never phone numbers). |
| office-lunch:read | Office lunch (home food). Read the home kitchen’s offices, delivery slots (capacity and booked) and the day’s cooking list. No guest names or phones. |
| reservations:read | Table bookings. Read table reservations: time, group size, status and table (first names only, never phone numbers). |
Rate limits
Default 60 requests per minute per key (we can raise it for approved apps), plus 600 per minute per IP address. Every answer has X-RateLimit-Limit and X-RateLimit-Remaining. When you go over, you get 429 with Retry-After (seconds). Changing dish availability is limited to 30 per minute.
Errors
| HTTP | code | Meaning |
|---|---|---|
| 401 | invalid_key | Missing, wrong, revoked or expired key. |
| 403 | missing_scope | The key, your account or the restaurant does not allow this permission. |
| 403 | ip_not_allowed | The key has an IP allow-list and your server is not on it. |
| 403 | developer_not_approved | Your account is waiting for approval or was suspended. |
| 403 | restaurant_plan | The restaurant's plan does not include API access right now. |
| 403 | https_required | Plain http:// was used. |
| 404 | not_found | Not found — or the restaurant / branch is not connected to your app. |
| 422 | validation | A field is missing or wrong (details in "errors"). |
| 429 | rate_limited | Too many requests. Wait for the Retry-After seconds. |
Security rules for your app
- Keep keys on your server only. Rotate them (create a new one, then revoke the old one) at least once a year.
- Use an IP allow-list when your server has a fixed IP.
- Ask only for the permissions you need. Use restaurant data only for the purpose you applied for.
- When a restaurant disconnects your app, delete their data from your systems.
- Report a leaked key or security issue to us at once — we can suspend it in seconds.
Account
Who am I
GET/me
Permission: any valid key
Shows your developer account, this key's name, permissions, expiry and your rate limit. Use it to test a new key.
Example answer
Account
Connected restaurants
GET/restaurants
Permission: any valid key
Restaurants whose owner connected your app, with the permissions and branches each one allowed. Use the "id" in all other calls. business_type is "restaurant" or "home_food" (a home kitchen: online pickup / delivery only — no tables, waiting list or bookings).
Example answer
Restaurant
Branches
GET/restaurants/{restaurant}/branches
Permission: branches:read
Branches you may see, with address, whether online pickup / delivery is open right now, and whether the waiting list and table booking are switched on (guest_link is the page guests use to join the line or book).
Example answer
Menu
Menu
GET/restaurants/{restaurant}/branches/{branch}/menu
Permission: menu:read
Categories with their dishes: price (in paise), veg / non-veg, availability, picture, tax rate, option groups and food details (about the dish, ingredients, serves, spice level 0–3, usual prep minutes). Food details are empty when the owner has not filled them.
Example answer
Menu
Mark a dish available / sold out
PATCH/restaurants/{restaurant}/branches/{branch}/menu-items/{item}/availability
Permission: menu:availability
The only change the API can make. Body: {"available": false}. Limited to 30 calls per minute. Every change is recorded in the restaurant's audit log.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| available | boolean | required | true = available, false = sold out |
Example answer
Tables
Tables
GET/restaurants/{restaurant}/branches/{branch}/tables
Permission: tables:read
Dining tables with number, seats, section and status (available, occupied, billing, cleaning, disabled), plus the live forecast: state (free, busy, billing, held, cleaning) and likely_free_in_minutes, learned from how long groups usually stay. next_booking_at shows the start of a booking due in the next 4 hours. POS counter tickets and online orders are not tables and are not listed. QR codes are never shared.
Example answer
Orders
Orders
GET/restaurants/{restaurant}/branches/{branch}/orders
Permission: orders:read
Approved orders (newest first, 50 per page) with dishes and totals. Only orders staff approved are shown. source tells where the order came from: table (QR / waiter), pos (counter sale — pos_ticket is the T- / C- ticket number) or online. Guest names and phone numbers are never included.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| from | date / date-time | optional | Default: 7 days ago. Longest range: 31 days. |
| to | date / date-time | optional | Default: now. |
| status | list | optional | approved, preparing, ready, served, completed, cancelled (comma separated) |
| channel | text | optional | dine_in, pickup or delivery |
| page / per_page | number | optional | per_page up to 100 |
Example answer
Orders
One order
GET/restaurants/{restaurant}/branches/{branch}/orders/{order}
Permission: orders:read
A single order with all its lines (including packing / delivery charges, marked is_charge).
Example answer
Orders
Online pickup & delivery orders
GET/restaurants/{restaurant}/branches/{branch}/online-orders
Permission: online-orders:read
Online orders (restaurants and home kitchens) with type, status, promised time, total and how the guest chose to pay (payment_choice: cash or upi). Only the guest's first name is shared — never the phone number, address or handover code. Home food office lunch orders have "office" (id, name) and scheduled_for = the delivery slot.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| from / to | date | optional | Same as orders |
| status | list | optional | pending, accepted, ready, out_for_delivery, completed, rejected, cancelled, not_collected |
Example answer
Kitchen
Kitchen tickets (last 24 hours)
GET/restaurants/{restaurant}/branches/{branch}/kitchen-tickets
Permission: kitchen:read
Kitchen tickets with their dishes and status (new, preparing, ready, completed). Useful for kitchen display or buzzer integrations.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| status | list | optional | new, preparing, ready, completed |
Example answer
Waiting list & bookings
Waiting list (live)
GET/restaurants/{restaurant}/branches/{branch}/waitlist
Permission: waitlist:read
Groups waiting for a table, in order: group size, place in line, smart wait estimate in minutes and the table they will likely get. "offered" means a table is kept for them until table_kept_until. meta gives totals and the wait right now for a new group of 2 or 4 — handy for a "wait time" screen or your own website. First names only; phone numbers are never shared. Read-only: groups are seated only by the restaurant's staff (or its own auto-allow).
Example answer
Waiting list & bookings
Table bookings
GET/restaurants/{restaurant}/branches/{branch}/reservations
Permission: reservations:read
Table reservations made in advance, soonest first (up to 500). Status: pending (waiting for the restaurant to confirm), confirmed, arrived, seated, declined, cancelled, no_show. source is guest (booked online) or staff (taken by phone / at the desk). First names only; phone numbers are never shared. Read-only: bookings are confirmed only by the restaurant.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| from / to | date / date-time | optional | Default: today to 7 days ahead. Longest range: 31 days. |
| status | list | optional | Comma separated, e.g. pending,confirmed |
Example answer
Home food
Office lunch (home food)
GET/restaurants/{restaurant}/branches/{branch}/office-lunch
Permission: office-lunch:read
For a home kitchen that runs office lunch: its offices, the delivery slots with capacity and how many are booked, each office run (slot + office) with order and meal counts, and the cooking list for the day. Office orders themselves appear in Online orders with "office" set. No guest names or phone numbers. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| date | date | optional | Default: today (kitchen time zone). |
Example answer
Reports
Sales report
GET/restaurants/{restaurant}/reports/sales
Permission: reports:read
Sales totals for a period (up to 31 days): per day, per branch and per channel (dine-in, pickup, delivery).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| from / to | date | optional | Default: last 7 days |
| branch | number | optional | Only one branch |
Example answer