Bookings
Book an event
Changed onBooks an event with the participants listed in the session's Configuration object, using the details from the Configuration. The start_time and end_time must correspond to a valid time slot returned by the Scheduling Availability endpoint using the same Configuration.
Nylas validates the session ID and uses it to retrieve the related Configuration object. If you created a public Configuration, you don't need to include the Authorization request header with a session ID, but you do need to pass the Configuration object ID as a query parameter.
post/v3/scheduling/bookings
Request
- Base URLhttps://api.us.nylas.com
- AuthHTTP bearer
Request body
Example request
{
"event_id": "7v3k9m2qp1abc4defg5hij6klm",
"master_id": "4p8r2t6v0xbcd1fgh3jkl5mno7",
"calendar_id": "host@example.com",
"additional_fields": {
"name": "Dorothy Vaughan",
"email_address": "dorothy@example.com"
}
}Response
Create a new booking
Example response
{
"request_id": "5fa64c92-e840-4357-86b9-2aa364d35b88"
}Changes
- info
added the new optional request property
- info
- info
added the new optional request property
- info
added the new optional request property
- info