v42

latestOpenAPI 3.1.0CC-BY-NC-SA-4.0raw.githubusercontent.com2025-03-1271142.7 KB
Bookings

New Booking

Subscribe to new bookings being created, to update integrations for your users. Related data is available via the links provided in the request.

postWebhooknewBooking

Payload

idstring uuid

Unique identifier for the booking

trip_idstring uuid

Identifier of the booked trip

passenger_namestring

Name of the passenger

has_bicycleboolean

Indicates whether the passenger has a bicycle.

has_dogboolean

Indicates whether the passenger has a dog.

Example payload

{
  "id": "3f3e3e1-c824-4d63-b37a-d8d698862f1d",
  "trip_id": "4f4e4e1-c824-4d63-b37a-d8d698862f1d",
  "passenger_name": "John Doe"
}

Response

Return a 200 status to indicate that the data was received successfully.