---
title: "New Booking"
method: POST
path: "newBooking"
tags: ["Bookings"]
---

# New Booking

`POST newBooking` (webhook)

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

## Payload

- object — A booking for a train trip.
  - `id` string, uuid — Unique identifier for the booking
  - `trip_id` string, uuid — Identifier of the booked trip
  - `passenger_name` string — Name of the passenger
  - `has_bicycle` boolean — Indicates whether the passenger has a bicycle.
  - `has_dog` boolean — Indicates whether the passenger has a dog.
  - `links` object — Links to the next and previous pages of a paginated response.
    - `self` string, uri
    - `next` string, uri
    - `prev` string, uri

## Acknowledgement `200`

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

---

[API](https://skmtc.net/bump-sh-examples/apis/train-travel-api.md) · [All operations](https://skmtc.net/bump-sh-examples/apis/train-travel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bump-sh-examples/train-travel-api/revisions/f98baa492089/schema)
