Skip to main content
POST
Book a seat for an event

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
event_id
integer<int64>
required

The unique identifier for the event

seat_ids
integer<int64>[]
required

An array of unique identifiers for the seats to be booked.

Example:

Response

Booking created successfully

booking_id
integer<int64>
required
user_id
string<uuid>
required
event_id
integer<int64>
required
seat_id
integer<int64>
required
is_paid
boolean
required

Indicates whether the booking has been paid for. false for initial reservation

created_at
string<date-time>
required
updated_at
string<date-time>
required