Referral status
Auto-book completed
referral.auto_book_completed webhook
WEBHOOK
Fired when an asynchronous Partner API auto-book request reaches a terminal
result. Submit a booking describes the request that
starts the attempt.
Delivery
Scan sends the event to the first available destination:- The
webhook_urlsupplied on the booking request. - The account webhook configured on the API access tab.
- No webhook when neither exists; poll the referral instead.
Payload
The body containsoccurred_at, the terminal auto_book_request, and the
current referral snapshot. Outcomes include booked, contacted_for_booking,
no_availability, and booking_failed.
This event does not currently include event_id. Make processing idempotent
using auto_book_request.id and its terminal status.
Response
Return any HTTP2xx response after storing the event. For account webhooks,
the retry policy is documented in Webhooks. If delivery is
unavailable, poll
GET /api/v2/referrals/{referral_id}
and inspect auto_book_request.status and auto_book_request.outcome.Body
application/json
Response
200
Return any 2xx response to acknowledge the event

