Booked slots

get
/api/booked_slots

https://datelist.io/api/booked_slots
This endpoint allows you to list the booked slots.
Request
Response
Request
Headers
Authentication
required
string
Authentication token (see the "authentication section")
Query Parameters
email
optional
string
Only get booked slots matching a specific email
calendar_id
optional
string
Only get booked slots for a specific calendar
from
optional
string
Get booked slots starting from a specified date (in iso 8601 format)
to
optional
boolean
Get booked slots up to a specified date (in iso 8601 format)
Response
200: OK
Returns the requested slots
[
{
"id": 2163,
"calendar_id": 31,
"start": "2021-07-21T11:00:00.000Z",
"end": "2021-07-21T11:10:00.000Z",
"email": "[email protected]",
"phone": "123456789",
"created_at": "2021-07-11T11:04:22.542Z",
"updated_at": "2021-07-11T11:04:22.542Z",
"external_id": null,
"created_from": "booking",
"email_notification_sent_at": null,
"phone_notification_sent_at": null,
"deleted_at": null,
"first_name": "Alexis",
"last_name": "Clarembeau",
"product_id": 63,
"language": "default",
"email_notification_really_sent_at": null,
"phone_notification_really_sent_at": null,
"custom_field_values": {
"31": "Custom field value 1"
},
"integration_details": null
},
{...}
]

patch
/api/booked_slots/:id

https://datelist.io/api/booked_slots/:id
Update data of a booked slot
Request
Response
Request
Path Parameters
id
optional
number
The ID of the booked slot
Headers
Authentication
required
string
Authentication token (see the "Authentication" section)
Form Data Parameters
Body
optional
string
Data to update (in same format as the GET endpoint result)
Response
200: OK
The updated booked slot
{
"id": 2163,
"calendar_id": 31,
"start": "2021-07-21T11:00:00.000Z",
"end": "2021-07-21T11:10:00.000Z",
"email": "[email protected]",
"phone": "123456789",
"created_at": "2021-07-11T11:04:22.542Z",
"updated_at": "2021-07-11T11:04:22.542Z",
"external_id": null,
"created_from": "booking",
"email_notification_sent_at": null,
"phone_notification_sent_at": null,
"deleted_at": null,
"first_name": "Alexis",
"last_name": "Clarembeau",
"product_id": 63,
"language": "default",
"email_notification_really_sent_at": null,
"phone_notification_really_sent_at": null,
"custom_field_values": {
"31": "Custom field value 1"
},
"integration_details": null
}

‚Äč