API Reference
Reservations
Table bookings: the day view, availability, confirm, seat and cancel.
/api/v1/console/reservations JWT API KeyGet reservations
The book, server-paged and sorted: filter by business-date range, status, table and search.
- Capability
view_reservations- API key scope
cap:view_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Query parameters
| From string (date) | — |
| To string (date) | — |
| Status string | — |
| TableId string (uuid) | Only bookings holding this table. |
| Page integer (int32) | — |
| PerPage integer (int32) | — |
| Search string | Free-text filter. Its meaning is per-resource and documented on the endpoint. |
| Skip integer (int32) | Rows to skip, derived — never sent by the caller on this surface. |
| Sort string | A snake_case column key from the endpoint's allow-list (`created_at`, `gross_total`, `status` …). Absent or blank → the endpoint's default order. |
| Dir string | `asc` (the default when Panoptes.Application.Common.SortableRequest.Sort is present) or `desc`. Ignored without a sort. |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/reservations" \
-H "X-Api-Key: <YOUR_API_KEY>"Query parameters
Headers
/api/v1/console/reservations JWT API KeyBook a table
A double-booked table, an undersized one or a start in the past is refused.
- Capability
manage_reservations- API key scope
cap:manage_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Request body
{
"guestId": "00000000-0000-0000-0000-000000000000",
"guestPhone": "string",
"guestName": "string",
"partySize": 0,
"startAt": "2026-11-27T14:05:12.764Z",
"durationMinutes": 0,
"tableIds": [
"00000000-0000-0000-0000-000000000000"
],
"source": "string",
"notes": "string",
"confirmed": false,
"clientOpId": "string"
}| guestId string (uuid) | — |
| guestPhone string | — |
| guestName string | The name to give a guest the phone creates. Ignored for an existing guest. |
| partySize integer (int32) | — |
| startAt string (date-time) | — |
| durationMinutes integer (int32) | Defaults to the branch's default duration. |
| tableIds string (uuid)[] | Optional: a booking may be taken before its tables are chosen. |
| source string | `phone` | `walk_in` | `whatsapp` | `online`. |
| notes string | — |
| confirmed boolean | Book it already confirmed (the host confirmed it on the call) rather than `requested`. |
| clientOpId string | The caller's operation id: a resubmission with the same id answers with the booking the first one made instead of booking the table twice. The `Idempotency-Key` header works too. |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/reservations" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"guestId": "00000000-0000-0000-0000-000000000000",
"guestPhone": "string",
"guestName": "string",
"partySize": 0,
"startAt": "2026-11-27T14:05:12.760Z",
"durationMinutes": 0,
"tableIds": [
"00000000-0000-0000-0000-000000000000"
],
"source": "string",
"notes": "string",
"confirmed": false,
"clientOpId": "string"
}'Request body (JSON)
Headers
/api/v1/console/reservations/{id} JWT API KeyGet id
- Capability
view_reservations- API key scope
cap:view_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/reservations/{id}" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers
/api/v1/console/reservations/{id} JWT API KeyUpdate id
Replace a still-expected booking's details; the same rules as a new booking, itself excepted.
- Capability
manage_reservations- API key scope
cap:manage_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"guestId": "00000000-0000-0000-0000-000000000000",
"guestPhone": "string",
"guestName": "string",
"partySize": 0,
"startAt": "2026-11-27T14:05:12.765Z",
"durationMinutes": 0,
"tableIds": [
"00000000-0000-0000-0000-000000000000"
],
"source": "string",
"notes": "string"
}| guestId string (uuid) | — |
| guestPhone string | — |
| guestName string | — |
| partySize integer (int32) | — |
| startAt string (date-time) | — |
| durationMinutes integer (int32) | — |
| tableIds string (uuid)[] | — |
| source string | — |
| notes string | — |
Responses
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/reservations/{id}" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"guestId": "00000000-0000-0000-0000-000000000000",
"guestPhone": "string",
"guestName": "string",
"partySize": 0,
"startAt": "2026-11-27T14:05:12.761Z",
"durationMinutes": 0,
"tableIds": [
"00000000-0000-0000-0000-000000000000"
],
"source": "string",
"notes": "string"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/reservations/{id}/cancel JWT API KeyCreate cancel
- Capability
manage_reservations- API key scope
cap:manage_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"reason": "string"
}| reason string | `guest_request` | `restaurant` | `duplicate` | `other`. |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/reservations/{id}/cancel" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"reason": "string"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/reservations/{id}/complete JWT API KeyCreate complete
- Capability
manage_reservations- API key scope
cap:manage_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/reservations/{id}/complete" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers
/api/v1/console/reservations/{id}/confirm JWT API KeyCreate confirm
- Capability
manage_reservations- API key scope
cap:manage_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/reservations/{id}/confirm" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers
/api/v1/console/reservations/{id}/no-show JWT API KeyMark a no-show — only once the branch's grace period after the start has passed
- Capability
manage_reservations- API key scope
cap:manage_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/reservations/{id}/no-show" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers
/api/v1/console/reservations/{id}/seat JWT API KeyCreate seat
Seat the party: the table must be free by the floor's own rule (no live order but the party's own, which is linked), and not held by another seated booking.
- Capability
manage_reservations- API key scope
cap:manage_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"tableIds": [
"00000000-0000-0000-0000-000000000000"
],
"orderId": "00000000-0000-0000-0000-000000000000",
"openTab": false
}| tableIds string (uuid)[] | — |
| orderId string (uuid) | — |
| openTab boolean | Open the party's check as it sits down: an open tab on its (first) table, for its guest and head count, whose pre-minted order id the booking links. Needs `create_sale`, as any tab does. Not with Panoptes.Application.DTOs.Requests.Reservations.SeatReservationRequest.OrderId. |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/reservations/{id}/seat" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"tableIds": [
"00000000-0000-0000-0000-000000000000"
],
"orderId": "00000000-0000-0000-0000-000000000000",
"openTab": false
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/reservations/day JWT API KeyOne business day: the tables (the timeline's rows), the day's bookings and its counts
- Capability
view_reservations- API key scope
cap:view_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Query parameters
| Date string (date) | The business date. Defaults to today in Asia/Baghdad. |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/reservations/day" \
-H "X-Api-Key: <YOUR_API_KEY>"Query parameters
Headers
/api/v1/console/reservations/floor JWT API KeyGet floor
The floor's reservation layer: who is seated, and who is coming in the next hours, by table.
- Capability
view_reservations- API key scope
cap:view_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Query parameters
| Hours integer (int32) | How far ahead to look, 1–24 hours. Defaults to 3. |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/reservations/floor" \
-H "X-Api-Key: <YOUR_API_KEY>"Query parameters
Headers
/api/v1/console/reservations/guest-lookup JWT API KeyCreate guest-lookup
Is this phone one of our guests, and how have their bookings gone — a masked phone and a name to confirm with. A `POST` so the phone stays out of the query string and the access log.
- Capability
manage_reservations- API key scope
cap:manage_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Request body
{
"phone": "string"
}| phone string | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/reservations/guest-lookup" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"phone": "string"
}'Request body (JSON)
Headers
/api/v1/console/reservations/settings JWT API KeyThe branch's reservation policy — defaults until it saves its own
- Capability (any)
view_reservationsormanage_settings- API key scope
cap:view_reservationsorcap:manage_settings(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/reservations/settings" \
-H "X-Api-Key: <YOUR_API_KEY>"Headers
/api/v1/console/reservations/settings JWT API KeySave the default length, the turnover buffer, the no-show grace and the sweep switch
- Capability
manage_settings- API key scope
cap:manage_settings(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Request body
{
"defaultDurationMinutes": 0,
"bufferMinutes": 0,
"noShowGraceMinutes": 0,
"autoNoShow": false
}| defaultDurationMinutes integer (int32) | — |
| bufferMinutes integer (int32) | — |
| noShowGraceMinutes integer (int32) | — |
| autoNoShow boolean | — |
Responses
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/reservations/settings" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"defaultDurationMinutes": 0,
"bufferMinutes": 0,
"noShowGraceMinutes": 0,
"autoNoShow": false
}'Request body (JSON)
Headers
/api/v1/console/reservations/table-availability JWT API KeyGet table-availability
Which tables could hold a booking at a time — the table picker, answered by the server's rules.
- Capability
view_reservations- API key scope
cap:view_reservations(the key's owner must also hold the capability)- Plan feature
crm_loyaltymust be on the branch's plan, or the call answers 403.
Query parameters
| StartAt string (date-time) | — |
| DurationMinutes integer (int32) | Defaults to the branch's default duration. |
| PartySize integer (int32) | — |
| ExcludeReservationId string (uuid) | The booking being edited, so it does not conflict with itself. |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/reservations/table-availability" \
-H "X-Api-Key: <YOUR_API_KEY>"Query parameters
Headers