Create block slot
POST/api/v2/scheduling/events/block-slots
Creates a block. Exactly one of calendarId / employeeId must be set; supplying both or neither returns 400. The owning company is derived from the target and must be inside the caller's scope.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 500
Block slot created
Validation error ÔÇö the request body or a query parameter failed constraint validation. The response payload includes a errors array with field-level details. Also returned when both or neither of calendarId / employeeId are set.
Missing or invalid JWT (Bearer token).
Authenticated user is missing the CREAR_CALENDARIOBLOQUEOS permission
Target calendar or employee not found
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.