Skip to content

Create a booking

POST
/api/v1/bookings
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.

Media typeapplication/json
object
service
required

The booking service id.

integer
Example
1
starts_at
required

When it starts, ISO 8601.

string
Example
2026-11-12T10:00:00Z
staff

Who it’s with. Leave out to give it to whoever is free.

integer
nullable
Example
1
contact
required

Who it’s for: an id, or a phone, email or external_id (the contact is created if new), with an optional name.

object
id

Must match an existing stored value.

integer
nullable
Example
16
phone

Must not be greater than 32 characters.

string
nullable
Example
n
email

Must be a valid email address. Must not be greater than 255 characters.

string
nullable
Example
ashly64@example.com
external_id

Must not be greater than 255 characters.

string
nullable
Example
v
name

Must not be greater than 255 characters.

string
nullable
Example
d
Example
{
"phone": "+351912345678",
"name": "Ana Silva"
}
customer_note

A note from the customer.

string
nullable
Example
First visit
internal_note

A note only the team sees.

string
nullable
Example
Prefers Ana
notify_customer

Whether automations may message the customer about it. Defaults to true.

boolean
Example
true