Waitlist
Open the waitlist
Lets remote parties join.
https://api.maple.inc/v1/locations/{locationId}/waitlist/openAPI keyLets remote parties join. Idempotent. Returns the waitlist. Requires bookings:manage.
Authorization
Send your API key as Authorization: Bearer <key>: mpk_test_… against the sandbox (https://api.staging.maple.inc/v1), mpk_live_… against production. See Authentication. The samples read the key from MAPLE_KEY and the base URL from MAPLE_BASE, as set up in the Quickstart.
Parameters
locationIdstring required
Responses
200 OK
-
objectstring requiredAlways
waitlist. -
location_idstring required -
livemodeboolean required -
openboolean requiredWhether remote parties may join. The venue can still add parties in person while it is closed.
-
entriesobject[] requiredThe active queue, first in line first.
-
entries[].objectstring requiredAlways
waitlist_entry. -
entries[].idstring requiredOpaque, prefixed
bkw_…. -
entries[].livemodeboolean required -
entries[].creatednumber required -
entries[].location_idstring required -
entries[].statusstring requiredOne of
waiting,notified,on_my_way,seated,removed_by_guest,removed_by_venue,expired_no_response. -
entries[].party_sizeinteger required -
entries[].positioninteger or null required1-based place in the queue while the entry is active; null once it is seated, removed, or expired.
-
entries[].quoted_waitobject or null requiredThe wait quoted when the party joined, refreshed when it is notified. Null when none could be quoted.
-
entries[].quoted_wait.parties_aheadinteger required -
entries[].quoted_wait.wait_minutesobject required -
entries[].quoted_wait.wait_minutes.mininteger required -
entries[].quoted_wait.wait_minutes.maxinteger required -
entries[].joined_atstring requiredISO-8601 UTC instant.
-
entries[].notified_atstring or null requiredISO-8601 UTC instant the table-ready text was sent.
-
entries[].booking_idstring or null requiredThe walk-in booking created when the party was seated; read it with
GET /bookings/{bookingId}. -
entries[].channelstring requiredThe channel the party joined on, e.g.
api_partner,voice_ai,internal. -
entries[].guestobject required -
entries[].guest.first_namestring or null required -
entries[].guest.last_namestring or null required -
entries[].guest.phonestring or null requiredE.164, when the guest left one.
-
entries[].guest.phone_last_fourstring or null required -
entries[].guest.emailstring or null required
Errors
-
400Bad request -
401Unauthorized -
403Forbidden -
404Not found -
422Unprocessable -
429Too many requests
Every error body names the error in _tag, explains it in message, and says where to report it in feedback. See Errors.
A 429 also sends Retry-After: Seconds to wait before retrying; also returned as retry_after in the body.