List Availabilities
Return availability slots for a given date.
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
datedays?integer
Number of days to include (default 1, max 30).
Default
1Range
1 <= value <= 30Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://devrms.tabdevx.com/api/restaurant/availabilities?date=2019-08-24"{
"data": [
{
"spots_total": 2,
"spots_open": 2,
"start_sec": 1773866400,
"duration_sec": 120,
"service_id": "reservation",
"confirmation_mode": "SYNCHRONOUS",
"merchant_id": "abc-merchant",
"max_covers": 8,
"max_days": 60,
"availability_tag": "Main Hall",
"resources": {
"party_size": 4,
"room_id": "3",
"room_name": "Main Hall"
}
}
],
"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"
}
}