Bookings
List Bookings
Return bookings for a given date for the restaurant associated with the bearer token.
Authorization
bearerAuth AuthorizationBearer <token>
Supports two token types:
- Restaurant tokens — API tokens with
restaurant-apiability, issued per restaurant. - User tokens — Personal access tokens with
mobile-accessability (e.g. for the mobile app). When managing multiple restaurants, includeX-Restaurant-Id: <id>header.
In: header
Query Parameters
date*string
Date in YYYY-MM-DD format.
Format
datestatus?string
Booking status to filter by.
Value in
"confirmed" | "accepted" | "cancelled" | "rejected"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://devrms.tabdevx.com/api/restaurant/bookings?date=2019-08-24"{
"data": [
{
"id": 123,
"reference": "API-ABC123",
"status": "confirmed",
"date": "2026-03-18T19:00:00+00:00",
"end_time": "2026-03-18T21:00:00+00:00",
"adults": 4,
"no_of_adults": 4,
"children": 1,
"no_of_children": 1,
"comment": "Window seat",
"dining_area": {
"id": 10,
"name": "Main Hall"
},
"tables": [
{
"id": 1,
"name": "T1",
"covers": 4
},
{
"id": 2,
"name": "T2",
"covers": 2
}
],
"patron": {
"name": "John Doe",
"email": "john@example.com",
"mobile_number": "+35612345678"
}
}
],
"meta": {
"timestamp": "2026-03-18T10:00:00Z",
"restaurant_id": 1
}
}{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"message": "The given data was invalid.",
"errors": {
"date": [
"The date field is required."
],
"adults": [
"The adults must be at least 1."
]
}
}{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z"
}
}