Create, reschedule and cancel bookings
Create, reschedule or cancel a same-day LineBlink booking using the line’s booking settings and the waitlist entry ID.
Read as MarkdownChoose a candidate time
Get the business time zone and the line’s availability settings with GET /waitlist/queues/{queueId}. Check that bookingsEnabled is true and bookingsPaused is false. Discovery returns settings, not a list of available booking slots.
Choose a future time today in the business’s time zone. Use an ISO 8601 timestamp with a UTC offset, such as YYYY-MM-DDT14:30:00-04:00 with the date and offset for the business. Align the time to bookingSlotMinutes from local midnight and fit the whole interval within bookingHours when those hours are enabled.
The queue’s averageWaitMinutes is an average of quoted waits for waiting, ready and confirmed entries. LineBlink checks the current wait for the requested booking when you create or reschedule it. A candidate that fits the displayed settings can still be too early. Wait for a successful response before recording the booking in your workflow.
Create a booking through entry creation
POST /waitlist/entries with isBooking set to true, your candidate in scheduledFor, and an Idempotency-Key header. Replace REPLACE_WITH_TODAYS_CANDIDATE_TIME_ISO_8601 before sending the example. Line capacity and the plan allowance still apply.
On HTTP 201, store entry.id for later lookups, rescheduling or cancellation. The response also includes guestId and bookingId. Use the waitlist entry ID in API paths.
{"queueId":"QUEUE_ID","fullName":"Alex Example","isBooking":true,"scheduledFor":"REPLACE_WITH_TODAYS_CANDIDATE_TIME_ISO_8601","externalReference":"test-booking-001"}Reschedule using the latest version
Look up the booking entry first. A booking in waiting, ready or confirmed can be rescheduled. Send POST /bookings/{entryId}/reschedule with the candidate scheduledFor, the current expectedVersion, and an Idempotency-Key header.
On HTTP 200, the entry object contains entryId, scheduledFor, and the resulting version. Use that version for the next change, or look up the entry again if another workflow may have updated it.
Handle validation, conflicts and retries
HTTP 400 PUBLIC_JOIN_VALIDATION can mean bookings are paused or disabled, the time fails the same-day, hours or interval check, the current wait extends past the candidate, or the booking can no longer be rescheduled. Read the error and correct the request or ask for another candidate as appropriate. A malformed timestamp can return 400 VALIDATION_ERROR.
HTTP 409 STATUS_CONFLICT on reschedule means the entry changed. Look it up again and decide if the change still applies. If a create returns 409 EXTERNAL_REFERENCE_CONFLICT, look up the entry with that reference before attempting another create.
After a lost response, a retryable server failure, or 409 IDEMPOTENCY_IN_PROGRESS, retry the same action with the same key and body. For 409 IDEMPOTENCY_CONFLICT, check what was originally sent with the key. Use a new key if you change the request.
Cancel an active booking
POST /bookings/{entryId}/cancel with expectedStatus, expectedVersion and an optional reason. Include Idempotency-Key. The booking cancellation endpoint accepts waiting, ready or confirmed. A successful change emits a booking.cancelled event.
Lookup uses the waitlist entry ID, including for bookings. The returned bookingId is related metadata; do not substitute it into an entry route.