Add new bookings

Add one or more bookings.

Option 1 - Create a booking associated only with a member.
You can the associate the booking with a team as well.

Option 2 - Create a booking associated only with a team.
You can the associate the booking with a member as well.

📘

Important

Check Settings/Platform/Calendar & Bookings for the "Make "Select Member" a required field" option to determine whether you can create bookings with a team only or if a member will always be required.

❗️

Warning

Using the API you can create a booking for any resource, so long as its "resourceId" parameter is valid.
Use the resource-types endpoint in order to check which resource types are bookable before referencing them in a booking.
This will help you prevent creating bookings for resources that aren't bookable.

Query Params
boolean

Prevent an email notification from being sent about the booking.

Body Params
Responses

Response body
array of objects
object
string

The _id of the booking.

boolean

Determines whether the booking is tentative or not.

boolean

Determines whether the booking is free or not.

start
object

Contains the start date of the booking.

end
object

Contains the end date of the booking.

string

The _id of the member associated with the booking.

string

The _id of the team associated with the booking.

string

The _id of the resource associated with the booking.

string

The description of the booking.

string

The title of the booking.

serviceSlots
object

Determines whether the booking has buffer slots before and after.re

members
array of strings

An array containing a list of all the _ids of teammates associated with the booking. This is possible if the member associated with the booking is part of a company - these company members can be added here.

members
visitors
array of strings

An array containg a list of all the _ids of external visitors associated with the booking.

visitors
recurrence
object

Determines the recurrence rules for the booking.

extras
object

Contains all the extra fees associated with the booking.

Language
Credentials
OAuth2
URL