Skip to content

New Booking
Webhook

Request

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

Security
OAuth2(Required scopes: read)
Bodyapplication/json
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.

Payload
{ "id": "efdbb9d1-02c2-4bc3-afb7-6788d8782b1e", "trip_id": "efdbb9d1-02c2-4bc3-afb7-6788d8782b1e", "passenger_name": "John Doe", "has_bicycle": true, "has_dog": true, "links": { "self": "https://api.example.com/bookings/1725ff48-ab45-4bb5-9d02-88745177dedb" } }

Responses

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