Skip to content

Webhooks FAQ

Frequent questions about Bookline webhooks.

Which calls generate events? In v0.0.1, the voice calls that your agents answer for restaurants. WhatsApp conversations and lodging venues will come in later versions.

Can I receive only some events or only some venues? Yes. Tell us which event types and which venues each endpoint should receive. New event types that Bookline adds later are not sent until you ask for them.

Can I send different events to different URLs? Yes, up to 10 endpoints per account. Each event goes to a single endpoint, so two endpoints cannot receive the same event type for the same venue.

How do I know a call was a lost booking? Look for request.not_completed with kind new_booking or group_booking. reason says why: no_availability, alternatives_declined, customer_hung_up, outside_booking_rules… With contact data on, data.conversation.customer.phone lets you call the guest back.

How do I follow a group booking? It arrives as request.pending with pending_owner venue. When the venue answers you receive the same request again: request.completed if accepted, request.not_completed with venue_rejected if rejected, or with expired after 48 hours without an answer.

If a booking is cancelled days later, will I get an event? Not in v0.0.1. A completed request never changes again. Cancellations and no-shows belong to the booking and will come with future booking events.

Why did I receive the same event twice? Delivery is at least once. Deduplicate by id (the webhook-id header). See Ordering and duplicates.

Why did request.completed arrive before request.created? Order is not guaranteed, for example when an earlier event had to be retried. Keep the event with the highest sequence for each request.

What is the difference between timestamp and webhook-timestamp? timestamp in the body is when the change happened, and it never changes. The webhook-timestamp header is when that attempt was signed, and it is new on each retry.

Is customer the same as customer_id? No. data.customer_id is your Bookline account. data.conversation.customer is the guest who called.

What happens if my server is down for a few hours? Nothing is lost. We retry for 72 hours, and we can resend for 30 days. See Responses and retries.

Can I see the deliveries or resend an event myself? Not yet. For now, ask us: we can look up any delivery of the last 30 days by event id, request id, conversation id or call id, and resend it. Managing endpoints and deliveries from the portal will come later.

Can I receive past events? No. Events are sent from the moment the endpoint is set up.

Can I get test events again? Yes. Ask us and we will send the test cases you need to your endpoint.

How will I know about changes to the payload? Additions (new fields, new values, new event types) keep the same api_version and are listed in the changelog. Your code should ignore fields and values it does not know. A breaking change would come with a new api_version.