Core resources
Administration
Booking flow
Link between contacts and bookings
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
{"id": "00000000-0000-0000-0000-000000000000","booking_id": "00000000-0000-0000-0000-000000000000","contact_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-12-06T05:28:34.396Z"}
id
Filter<>
Unique identifier
booking_id
Filter<>
Identifier of the related booking
contact_id
Filter<>
Identifier of the related contact
created_at
Filter<>
Creation timestamp
200
A list of contact bookings with the selected columns
206
Partial Content
GET
/contact_bookings
curl -X GET "https://api.bookingmood.com/v1/contact_bookings?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<ContactBooking>
| Array<Partial<ContactBooking>>
201
The newly created contact bookings with the selected columns
POST
/contact_bookings
curl -X POST "https://api.bookingmood.com/v1/contact_bookings" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
booking_id
Filter<>
Identifier of the related booking
contact_id
Filter<>
Identifier of the related contact
created_at
Filter<>
Creation timestamp
204
The deleted contact bookings with the selected columns
DELETE
/contact_bookings
curl -X DELETE "https://api.bookingmood.com/v1/contact_bookings" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
booking_id
Filter<>
Identifier of the related booking
contact_id
Filter<>
Identifier of the related contact
created_at
Filter<>
Creation timestamp
Partial<ContactBooking>
204
The updated contact bookings with the selected columns
PATCH
/contact_bookings
curl -X PATCH "https://api.bookingmood.com/v1/contact_bookings" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'