Create a reservation resource availability block
Adds a weekly time block to a resource. Send one request per block (for example Monday 09:00–12:00 and Monday 13:00–17:00 are two blocks).
Endpoint
POST/reservation-resource-availability
Body
| Field | Type | Required | Description |
|---|---|---|---|
organization_id | integer | Yes | Your organization ID (the API key's organization). |
resource_id | integer | Yes | Resource ID. |
day_of_week | integer | Yes | 0 (Sunday) to 6 (Saturday). |
start_time | string | Yes | HH:mm or HH:mm:ss. |
end_time | string | Yes | HH:mm or HH:mm:ss. |
is_active | boolean | No | Default true. |
breaks | array | No | { "start_time", "end_time" } items. Stored only. |
valid_from, valid_until | string (YYYY-MM-DD) | No | Stored only. |
Request
Response
Returns the created availability object.
json
Errors
| Status | When |
|---|---|
400 Bad Request | Missing required field, day_of_week outside 0–6, or a time not in HH:mm[:ss] format. |
403 Forbidden | organization_id is not the API key's organization. |
Report an issue with this documentation
Please log in to report issues with our documentation.