Bookings
Bookings made through the API behave exactly like bookings made in Renotify: the time is checked and held, and the same automations (confirmations, reminders) start for the customer. All endpoints need a plan with bookings and an API key; reads need the read permission, changes need create or update.
Times you send are ISO 8601. Dates (from, to) are local dates in the business’s timezone, which every response includes.
Find free times
Section titled “Find free times”GET /api/v1/availability?service=1&from=2026-11-12&to=2026-11-19
{ "timezone": "Europe/Lisbon", "days": [ { "date": "2026-11-12", "slots": [ { "start": "2026-11-12T10:00:00+00:00", "end": "2026-11-12T10:45:00+00:00", "staff_ids": [3, 5] } ] } ]}These are the times customers see on the booking page. Ask for up to 31 days at a time. List services and their ids with GET /api/v1/booking-services.
Make a booking
Section titled “Make a booking”POST /api/v1/bookings:
{ "service": 1, "starts_at": "2026-11-12T10:00:00Z", "contact": { "phone": "+351912345678", "name": "Ana Silva" }, "customer_note": "First visit"}Identify the customer with contact.id, or a phone, email or external_id; a new contact is created when there’s no match. Leave out staff to give the booking to whoever is free. The response is 201 with the booking, including its public_id (the bk_… id in webhooks) and a manage_url the customer can use to reschedule or cancel.
When the time was just taken
Section titled “When the time was just taken”If someone else booked the time between your availability check and your request, the response is 409:
{ "message": "Someone just took that time. Pick another." }Show the message, fetch availability again and let the customer pick another time. Changes that a booking’s status doesn’t allow (for example marking a cancelled booking attended) are 422 with a sentence explaining why.
Change a booking
Section titled “Change a booking”| Request | What it does |
|---|---|
PATCH /api/v1/bookings/{id} |
Changes internal_note, customer_note or staff. Times don’t change here. |
POST /api/v1/bookings/{id}/reschedule |
Moves it to starts_at. Returns the new booking; the old one is cancelled with the reason rescheduled. |
POST /api/v1/bookings/{id}/confirm |
Confirms a booking waiting for confirmation. |
POST /api/v1/bookings/{id}/cancel |
Cancels it, with an optional reason. |
POST /api/v1/bookings/{id}/complete |
Marks it attended. |
POST /api/v1/bookings/{id}/no-show |
Marks that the customer didn’t come. |
Send "notify_customer": false to make, move or cancel a booking without automations messaging the customer about it.
Hear about changes
Section titled “Hear about changes”Subscribe a webhook endpoint to any of these events. Each sends the booking, with its contact, as data:
| Event | When |
|---|---|
booking.requested |
A booking was requested and waits for confirmation. |
booking.confirmed |
A booking was confirmed, including the new time after a reschedule. |
booking.rescheduled |
A booking was moved to a new time (sent for the old booking). |
booking.cancelled |
A booking was cancelled. |
booking.completed |
The customer attended. |
booking.no_show |
The customer didn’t come. |