BlocksResponse
Response schema for a list of blocks
data object[]required
List of blocks
Whether the block is all day.
The type of attachment for the block.
Possible values: [location, service, provider, service_provider]
The resources to which this block is attached. These can be service IDs (to block availabilty for all providers on a service), provider IDs (to block availability for a specific provider), or location IDs (to block availability for a specific location).
Time at which the object was created.
The end date of the block.
The end time of the block.
Possible values: Value must match regular expression ^(?:[01]\d|2[0-3]):[0-5]\d$
The exception dates for the block.
Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
Unique identifier for the object.
Possible values: Value must match regular expression ^blk_\w{12}$
String representing the object's type.
Possible values: [block]
recurrence_rule objectnullable
The recurrence rule for the block (or null if there is no recurrence).
The days of the week on which the recurrence occurs.
Possible values: Value must match regular expression (mo|tu|we|th|fr|sa|su)$
["mo","we","fr"]Number of occurrences at which to end the recurrence.
Possible values: >= 1
The frequency of the recurrence.
Possible values: [daily, weekly]
How often the recurrence rule repeats.
Possible values: >= 1
2Date at which to end the recurrence (in ISO-8601 format).
2024-01-02The ID of the service for the block. Required when attachment_type is service_provider.
The start date of the block.
The start time of the block.
Possible values: Value must match regular expression ^(?:[01]\d|2[0-3]):[0-5]\d$
The time zone of the block.
The title of the block.
Time at which the object was last updated.
meta objectrequired
Metadata for paginated responses
Current page number
Number of records per page
Total number of records
Total number of pages
{
"data": [
{
"all_day": false,
"attachment_type": "provider",
"attachments": [
"prov_d025a96ac0c6"
],
"created_at": "2017-09-12T12:34:55Z",
"end_date": "2025-10-27",
"end_time": "17:00",
"exception_dates": [
"2025-10-27T09:00:00"
],
"id": "blk_d025a96ac0c6",
"object": "block",
"recurrence_rule": {
"byday": [
"mo",
"we",
"fr"
],
"freq": "weekly"
},
"service_id": null,
"start_date": "2025-10-27",
"start_time": "09:00",
"time_zone": "America/New_York",
"title": "Team Meeting",
"updated_at": "2017-09-13T10:11:12Z"
}
],
"meta": {
"current_page": 1,
"page_size": 10,
"total_count": 50,
"total_pages": 5
}
}