Skip to content

Bookings

Create and manage bookings for train trips, including passenger details and optional extras.

List existing bookings

Request

Returns a list of all trip bookings by the authenticated user.

Security
OAuth2(Required scopes: read)
curl -i -X GET \
  https://innovario.apishowdown.com/_mock/catalog/api-showdown/api-hub/train-travel/openapi/bookings \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

A list of bookings

Headers
RateLimitstring

The RateLimit header communicates quota policies. It contains a limit to convey the expiring limit, remaining to convey the remaining quota units, and reset to convey the time window reset time.

Body
dataArray of objects(Booking)

The wrapper for a collection is an array of objects.

Response
{ "data": [ {}, {} ], "links": { "self": "https://api.example.com/bookings", "next": "https://api.example.com/bookings?page=2" } }