Bookings API
Manage event registrations, attendee information, and booking status.
Overview
The Bookings API allows you to manage event registrations, including creating, updating, and retrieving booking information. Bookings are always associated with a specific event.
Bookings include attendee details, payment status, and ticket information.
Base Path
https://api.nookhive.com/v1/events/{slug}/bookingsEndpoints
GET
/v1/events/{slug}/bookingsList Bookings
Returns a paginated list of all bookings for a specific event.
Parameters
Example RequestBASH
curl -X GET "https://api.nookhive.com/v1/events/annual-conference-2026/bookings?status=PAID" \
-H "Authorization: Bearer nk_live_your_api_key_here"ResponseJSON
{
"bookings": [
{
"id": "bkg_abc123",
"eventSlug": "annual-conference-2026",
"attendee": {
"name": "John Doe",
"email": "john@example.com",
"phone": "+1234567890",
"company": "Acme Corp"
},
"ticketType": "Standard Ticket",
"quantity": 2,
"totalAmount": 398.00,
"currency": "USD",
"paymentStatus": "PAID",
"paidAt": "2026-01-10T15:30:00Z",
"createdAt": "2026-01-10T15:00:00Z"
}
],
"total": 1,
"page": 1,
"limit": 20
}GET
/v1/events/{slug}/bookings/{id}Get Booking Details
Retrieve detailed information about a specific booking.
Parameters
Example RequestBASH
curl -X GET "https://api.nookhive.com/v1/events/annual-conference-2026/bookings/bkg_abc123" \
-H "Authorization: Bearer nk_live_your_api_key_here"POST
/v1/events/{slug}/bookingsCreate Booking
Create a new booking for an event. Used for manual registrations or integrations.
Parameters
Example RequestBASH
curl -X POST "https://api.nookhive.com/v1/events/annual-conference-2026/bookings" \
-H "Authorization: Bearer nk_live_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"attendee": {
"name": "Jane Smith",
"email": "jane@example.com",
"phone": "+1987654321",
"company": "Tech Inc"
},
"ticketTypeId": "tt_standard",
"quantity": 1,
"paymentStatus": "PAID"
}'POST
/v1/events/{slug}/bookings/{id}/mark-paidMark Booking as Paid
Update the payment status of a booking to PAID. Useful for offline payments.
Parameters
Example RequestBASH
curl -X POST "https://api.nookhive.com/v1/events/annual-conference-2026/bookings/bkg_abc123/mark-paid" \
-H "Authorization: Bearer nk_live_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"paymentMethod": "BANK_TRANSFER",
"paymentReference": "TXN-20260115-001"
}'POST
/v1/events/{slug}/bookings/{id}/resend-confirmationResend Confirmation Email
Resend the booking confirmation email to the attendee.
Parameters
Example RequestBASH
curl -X POST "https://api.nookhive.com/v1/events/annual-conference-2026/bookings/bkg_abc123/resend-confirmation" \
-H "Authorization: Bearer nk_live_your_api_key_here"POST
/v1/events/{slug}/bookings/{id}/send-reminderSend Reminder Email
Send a reminder email to the attendee about the upcoming event.
Parameters
Example RequestBASH
curl -X POST "https://api.nookhive.com/v1/events/annual-conference-2026/bookings/bkg_abc123/send-reminder" \
-H "Authorization: Bearer nk_live_your_api_key_here"The Booking Object
{
"id": "bkg_abc123",
"eventId": "evt_example123",
"eventSlug": "annual-conference-2026",
"attendee": {
"name": "John Doe",
"email": "john@example.com",
"phone": "+1234567890",
"company": "Acme Corp"
},
"ticketType": {
"id": "tt_standard",
"name": "Standard Ticket",
"price": 199.00
},
"quantity": 2,
"subtotal": 398.00,
"discount": 0.00,
"totalAmount": 398.00,
"currency": "USD",
"paymentStatus": "PAID",
"paymentMethod": "CARD",
"paymentReference": "pi_abc123",
"paidAt": "2026-01-10T15:30:00Z",
"checkInStatus": "NOT_CHECKED_IN",
"checkedInAt": null,
"confirmationSentAt": "2026-01-10T15:30:00Z",
"createdAt": "2026-01-10T15:00:00Z",
"updatedAt": "2026-01-10T15:30:00Z"
}