Skip to content

Event catalogue

Every Bookline webhook event: when it is sent, its fields, the status and reason values, and sample payloads.

Every event is a JSON object with the same envelope and a data object. data always holds the conversation and, on request.* events, the full request as it stands at that moment.

Event When it is sent
conversation.started A call starts. Always the first event of the conversation (sequence 1)
conversation.ended The call ends. It adds the duration, who handled the call, and the id and status of each request in it
request.created The agent identifies what the guest wants. Always the first event of the request (sequence 1), with the status it has by then. If that status is no longer in_progress, the event for that status follows right after
request.updated The details of the request change without a change of status: the requested day, time or party size, or the alternatives offered
request.pending Someone has to act after the call: the venue (for example, to confirm a group booking) or the guest. pending_owner says who
request.transferred The request is handed over to a person at the venue, or continues on another channel
request.completed The request was resolved: booking made, changed or cancelled, or question answered. result holds the booking when there is one
request.not_completed The request ended unresolved. reason always says why

A call can contain several requests. A request can also change after the call has ended, for example when the venue accepts a group booking.

status Meaning Event is_final
in_progress The agent is handling the request request.created, request.updated false
pending Waiting for the venue or the guest request.pending false
transferred Handed over to a person or to another channel request.transferred true
completed Resolved request.completed true
not_completed Ended unresolved request.not_completed true

is_final means the conversation is done with the request. A completed request never changes again. A booking cancelled or missed days later is news about the booking, not about the request, and will come with future booking events. not_completed and transferred can still change once: a not_completed request becomes completed with reason recovered when the booking turns up in the venue’s booking system, and a transferred request can be closed when the guest finishes it on another channel.

A request’s reason can be refined in a later request.updated with the same status, for example when more is known about why it was transferred. The event with the highest sequence always wins.

A pending group booking closes when the venue accepts it (request.completed) or rejects it (request.not_completed, venue_rejected), or after 48 hours without an answer (request.not_completed, expired).

Field Type Description
id string Event id: evt_ followed by 32 hex characters (evt_test_… on test events). Equal to the webhook-id header. The same on every retry
type string One of the eight event types
timestamp string When the change happened, ISO 8601 in UTC, to the second (2026-11-05T19:14:30Z). Not the time of the send
api_version string Version of the payload schema: 2026-11-01. New fields and values do not change it
sequence integer Starts at 1 and rises by one with each event of the same request, or of the same conversation for conversation.*
test boolean true on test events. Don’t act on them
data object See below
Field Type Description
customer_id uuid Your Bookline account
business_type string restaurant. Other business types will be added later
venue object or null The venue: id, name and timezone (IANA name, such as Europe/Madrid). It can be null; such an event only reaches an endpoint that covers all your venues
conversation object The call. Always present
request object The request. Only on request.* events
requests array Only on conversation.ended: each request of the call with its id, kind, status and venue_id
Field Type Description
id uuid Conversation id. One per call
channel string phone
started_at string Start of the call, UTC
ended_at string or null End of the call, UTC. Null while the call is ongoing
duration_seconds integer or null Length of the call. Null while the call is ongoing
external_call_id string or null The call id in the telephony provider, when known
language string or null Language of the call, ISO 639 code (es, en…). It can be null until the guest’s first request
handled_by string agent, or venue when the call was transferred and a person at the venue answered
customer object or null The guest who called. Null when contact data is off for your endpoint (the default)

data.conversation.customer (only with contact data on):

Field Type Description
phone string or null The guest’s number in E.164 format (+34600111222). Null when the number is hidden or is not a real subscriber line
name string or null The guest’s name, once the agent has captured it
hidden_number boolean true when the caller’s number is hidden or not valid. phone is then null

A request can outlive its call: if the guest calls back to finish it, the request keeps its id, and data.conversation is the call where the change happened.

Field Type Description
id uuid Request id. Stable for the whole life of the request
kind string What the guest asked for. See Request kinds
status string See Request lifecycle
reason string or null Why the request has this status. See Reasons
is_final boolean true for completed, not_completed and transferred
pending_owner string or null Only when status is pending: venue or customer (the guest)
created_at string When the request started, UTC
updated_at string Last change of the request, UTC
closed_at string or null When the request reached its final status, UTC. Null while it is not final. For a request closed during the call, the moment it closed in the call. For a request the venue decides after the call (a group booking accepted, rejected or expired), the moment that outcome reached Bookline, which can be days after the call: for expired, when Bookline recorded that the wait had run out. Once sent, the closed_at of a completed request never changes; for not_completed and transferred it is when the current final status was reached
requested object or null What the guest asked for: date (YYYY-MM-DD), time (HH:MM) and party_size, each null if unknown. Date and time are in the venue’s timezone
offered array Alternatives the agent offered, each with type and outcome. Empty when none
result object or null The booking, when there is one: booking_system (such as covermanager), booking_id (the booking’s id in that system, as is, with no prefix: in CoverManager, its reservation id), date, time and party_size
kind The guest wants to…
new_booking Make a booking
group_booking Book for a group that the venue has to confirm
event_booking Book for an event
modify_booking Change a booking
cancel_booking Cancel a booking
booking_query Check or confirm an existing booking
information Ask a question: opening hours, menu, address…
speak_to_staff Talk to a person at the venue
other Something else
status Possible reason values
in_progress Always null
pending restaurant_confirmation (the venue has to confirm; pending_owner venue), customer_to_confirm (the guest has to confirm, for example through a link; pending_owner customer)
completed Null, or recovered: the request had ended unresolved but the booking was later found in the booking system
transferred routed_to_staff, booking_rules, not_supported, booking_not_found, agent_could_not_handle, system_error, continued_on_whatsapp, other
not_completed no_availability, alternatives_declined, outside_booking_rules, customer_hung_up, customer_changed_request, transfer_not_answered, venue_rejected, customer_cancelled, expired, booking_not_found, caller_not_identified, not_supported, system_error, other
reason Meaning
restaurant_confirmation The booking is waiting for the venue to accept it
customer_to_confirm The booking is waiting for the guest to confirm it
recovered The booking was found in the booking system after the request had been marked as not completed
routed_to_staff The venue’s setup sends this kind of call to a person
booking_rules A booking the agent is not allowed to take (too many people, too close to the time…), passed to a person
not_supported Something the agent cannot do for this venue, such as changing a booking made on another channel
agent_could_not_handle The agent could not understand or resolve the request
system_error A technical error, for example the booking system did not answer
continued_on_whatsapp The guest chose to continue on WhatsApp
no_availability No availability for what the guest asked
alternatives_declined There was no availability and the guest did not accept the alternatives offered
outside_booking_rules The request falls outside the venue’s booking rules: opening hours, notice, maximum party size…
customer_hung_up The guest hung up before finishing
customer_changed_request The guest moved on to a different request during the call
transfer_not_answered The call was transferred but nobody at the venue answered
venue_rejected The venue rejected the booking
customer_cancelled The guest cancelled the booking before the venue confirmed it
expired The venue did not answer in time
booking_not_found The booking the guest wanted to change or cancel was not found. With not_completed the request ended there; with transferred the agent did not find the booking and transferred the call to the venue
caller_not_identified The guest could not be identified (for example, a hidden number when one was needed)
other Any other cause
offered[].type Alternative
same_day_other_time Another time on the same day
other_day Another day
other_venue Another venue
transfer_to_staff Talking to a person at the venue
custom_proposal Another proposal

offered[].outcome: pending, accepted, rejected, not_relevant, countered (the guest proposed something else) or unanswered.

The samples use made-up data. They show contact data on; with it off, data.conversation.customer is null.

{
"id": "evt_0193a7c3a1b27c4d8e9f0a1b2c3d4e01",
"type": "conversation.started",
"timestamp": "2026-11-05T19:12:05Z",
"api_version": "2026-11-01",
"sequence": 1,
"test": false,
"data": {
"customer_id": "7d1f0c9e-2b6a-4c3d-9e8f-0a1b2c3d4e5f",
"business_type": "restaurant",
"venue": {
"id": "3f9a2c1e-5b7d-4e8a-9c21-7d4e5f6a8b90",
"name": "Restaurante Ejemplo",
"timezone": "Europe/Madrid"
},
"conversation": {
"id": "0193a7c1-9b2e-7c44-8f10-5a6b7c8d9e0f",
"channel": "phone",
"started_at": "2026-11-05T19:12:05Z",
"ended_at": null,
"duration_seconds": null,
"external_call_id": "c5e1a9d2-7f3b-4a60-9e84-2b1d6f0a3c57",
"language": "es",
"handled_by": "agent",
"customer": {
"phone": "+34600111222",
"name": "Laura Gómez",
"hidden_number": false
}
}
}
}
{
"id": "evt_0193a7c3a1b27c4d8e9f0a1b2c3d4e10",
"type": "request.created",
"timestamp": "2026-11-05T19:12:20Z",
"api_version": "2026-11-01",
"sequence": 1,
"test": false,
"data": {
"customer_id": "7d1f0c9e-2b6a-4c3d-9e8f-0a1b2c3d4e5f",
"business_type": "restaurant",
"venue": {
"id": "3f9a2c1e-5b7d-4e8a-9c21-7d4e5f6a8b90",
"name": "Restaurante Ejemplo",
"timezone": "Europe/Madrid"
},
"conversation": {
"id": "0193a7c1-9b2e-7c44-8f10-5a6b7c8d9e0f",
"channel": "phone",
"started_at": "2026-11-05T19:12:05Z",
"ended_at": null,
"duration_seconds": null,
"external_call_id": "c5e1a9d2-7f3b-4a60-9e84-2b1d6f0a3c57",
"language": "es",
"handled_by": "agent",
"customer": {
"phone": "+34600111222",
"name": null,
"hidden_number": false
}
},
"request": {
"id": "0193a7c2-1d3f-7a55-9e21-6b7c8d9e0f1a",
"kind": "new_booking",
"status": "in_progress",
"reason": null,
"is_final": false,
"pending_owner": null,
"created_at": "2026-11-05T19:12:20Z",
"updated_at": "2026-11-05T19:12:20Z",
"closed_at": null,
"requested": null,
"offered": [],
"result": null
}
}
}
{
"id": "evt_0193a7c3a1b27c4d8e9f0a1b2c3d4e03",
"type": "request.completed",
"timestamp": "2026-11-05T19:14:30Z",
"api_version": "2026-11-01",
"sequence": 2,
"test": false,
"data": {
"customer_id": "7d1f0c9e-2b6a-4c3d-9e8f-0a1b2c3d4e5f",
"business_type": "restaurant",
"venue": {
"id": "3f9a2c1e-5b7d-4e8a-9c21-7d4e5f6a8b90",
"name": "Restaurante Ejemplo",
"timezone": "Europe/Madrid"
},
"conversation": {
"id": "0193a7c1-9b2e-7c44-8f10-5a6b7c8d9e0f",
"channel": "phone",
"started_at": "2026-11-05T19:12:05Z",
"ended_at": "2026-11-05T19:14:30Z",
"duration_seconds": 145,
"external_call_id": "c5e1a9d2-7f3b-4a60-9e84-2b1d6f0a3c57",
"language": "es",
"handled_by": "agent",
"customer": {
"phone": "+34600111222",
"name": "Laura Gómez",
"hidden_number": false
}
},
"request": {
"id": "0193a7c2-1d3f-7a55-9e21-6b7c8d9e0f1a",
"kind": "new_booking",
"status": "completed",
"reason": null,
"is_final": true,
"pending_owner": null,
"created_at": "2026-11-05T19:12:20Z",
"updated_at": "2026-11-05T19:14:12Z",
"closed_at": "2026-11-05T19:14:12Z",
"requested": { "date": "2026-11-08", "time": "21:30", "party_size": 4 },
"offered": [{ "type": "same_day_other_time", "outcome": "accepted" }],
"result": {
"booking_system": "covermanager",
"booking_id": "nmh4kq7z",
"date": "2026-11-08",
"time": "21:15",
"party_size": 4
}
}
}
}

The other events share the same envelope and data. Only data.request (or data.requests) is shown below.

"request": {
"id": "0193a7c2-1d3f-7a55-9e21-6b7c8d9e0f1a",
"kind": "new_booking",
"status": "in_progress",
"reason": null,
"is_final": false,
"pending_owner": null,
"created_at": "2026-11-05T19:12:20Z",
"updated_at": "2026-11-05T19:13:02Z",
"closed_at": null,
"requested": { "date": "2026-11-08", "time": "21:30", "party_size": 4 },
"offered": [{ "type": "same_day_other_time", "outcome": "pending" }],
"result": null
}
"request": {
"id": "0193a7c2-1d3f-7a55-9e21-6b7c8d9e0f1a",
"kind": "new_booking",
"status": "not_completed",
"reason": "no_availability",
"is_final": true,
"pending_owner": null,
"created_at": "2026-11-05T19:12:20Z",
"updated_at": "2026-11-05T19:14:25Z",
"closed_at": "2026-11-05T19:14:25Z",
"requested": { "date": "2026-11-08", "time": "21:30", "party_size": 4 },
"offered": [],
"result": null
}

With "reason": "alternatives_declined", offered lists the rejected alternatives, for example [{ "type": "same_day_other_time", "outcome": "rejected" }].

request.pending (group booking waiting for the venue)

Section titled “request.pending (group booking waiting for the venue)”
"request": {
"id": "0193a7c2-1d3f-7a55-9e21-6b7c8d9e0f1a",
"kind": "group_booking",
"status": "pending",
"reason": "restaurant_confirmation",
"is_final": false,
"pending_owner": "venue",
"created_at": "2026-11-05T19:12:20Z",
"updated_at": "2026-11-05T19:14:12Z",
"closed_at": null,
"requested": { "date": "2026-11-14", "time": "21:00", "party_size": 14 },
"offered": [],
"result": {
"booking_system": "covermanager",
"booking_id": "qfk2rp8d",
"date": "2026-11-14",
"time": "21:00",
"party_size": 14
}
}

When the venue answers, the same request arrives again with a higher sequence: request.completed if accepted, or request.not_completed with venue_rejected or expired.

"request": {
"id": "0193a7c2-1d3f-7a55-9e21-6b7c8d9e0f1a",
"kind": "speak_to_staff",
"status": "transferred",
"reason": "routed_to_staff",
"is_final": true,
"pending_owner": null,
"created_at": "2026-11-05T19:12:20Z",
"updated_at": "2026-11-05T19:14:30Z",
"closed_at": "2026-11-05T19:14:30Z",
"requested": null,
"offered": [],
"result": null
}

In this case data.conversation.handled_by is venue.

data.conversation now has ended_at and duration_seconds, and data.requests lists the requests of the call:

"requests": [
{
"id": "0193a7c2-1d3f-7a55-9e21-6b7c8d9e0f1a",
"kind": "new_booking",
"status": "completed",
"venue_id": "3f9a2c1e-5b7d-4e8a-9c21-7d4e5f6a8b90"
}
]