Create a booking
const url = 'https://renotify.app/api/v1/bookings';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"service":1,"starts_at":"2026-11-12T10:00:00Z","staff":1,"contact":{"phone":"+351912345678","name":"Ana Silva"},"customer_note":"First visit","internal_note":"Prefers Ana","notify_customer":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://renotify.app/api/v1/bookings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "service": 1, "starts_at": "2026-11-12T10:00:00Z", "staff": 1, "contact": { "phone": "+351912345678", "name": "Ana Silva" }, "customer_note": "First visit", "internal_note": "Prefers Ana", "notify_customer": true }'Books the time if it’s still free, exactly as a booking made in the app: the customer gets the same confirmation and reminders. When someone else took the time first, the response is 409 with a message to show.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
The booking service id.
Example
1When it starts, ISO 8601.
Example
2026-11-12T10:00:00ZWho it’s with. Leave out to give it to whoever is free.
Example
1Who it’s for: an id, or a phone, email or external_id (the contact is created if new), with an optional name.
object
Must match an existing stored value.
Example
16Must not be greater than 32 characters.
Example
nMust be a valid email address. Must not be greater than 255 characters.
Example
ashly64@example.comMust not be greater than 255 characters.
Example
vMust not be greater than 255 characters.
Example
dExample
{ "phone": "+351912345678", "name": "Ana Silva"}A note from the customer.
Example
First visitA note only the team sees.
Example
Prefers AnaWhether automations may message the customer about it. Defaults to true.
Example
true