Business Hours
Retrieve a list of defined business hours, showcasing their names, and other information.
Provide the token that is returned upon login
Limits the number of results to return
10Pagination token that keeps of track of the current position in the list
Order in which to retrieve the results
falseok
Workspace not found
GET /workspaces/{workspaceId}/business-hours HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"timezone": "text",
"weeklySchedule": {
"monday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"tuesday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"wednesday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"thursday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"friday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"saturday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"sunday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
}
},
"holidays": [
{
"name": "text",
"day": 1,
"month": 1
}
],
"assignedTeamIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"createdAt": "2025-11-27T03:25:07.541Z",
"updatedAt": "2025-11-27T03:25:07.541Z",
"currentStatus": "open",
"nextOpenTime": "2025-11-27T03:25:07.541Z",
"nextCloseTime": "2025-11-27T03:25:07.541Z"
}
]
}Define and create new business hours, specifying the name, schedule.
Provide the token that is returned upon login
created
Workspace not found
Invalid request
POST /workspaces/{workspaceId}/business-hours HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 656
{
"name": "text",
"description": "text",
"timezone": "text",
"weeklySchedule": {
"monday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"tuesday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"wednesday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"thursday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"friday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"saturday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"sunday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
}
},
"holidays": [
{
"name": "text",
"day": 1,
"month": 1
}
],
"assignedTeamIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}No content
Retrieve information about specific business hours, including their name, schedule.
Provide the token that is returned upon login
Business Hours entry UUID
ok
Workspace or user not found
GET /workspaces/{workspaceId}/business-hours/{businessHourId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"timezone": "text",
"weeklySchedule": {
"monday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"tuesday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"wednesday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"thursday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"friday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"saturday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"sunday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
}
},
"holidays": [
{
"name": "text",
"day": 1,
"month": 1
}
],
"assignedTeamIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"createdAt": "2025-11-27T03:25:07.541Z",
"updatedAt": "2025-11-27T03:25:07.541Z",
"currentStatus": "open",
"nextOpenTime": "2025-11-27T03:25:07.541Z",
"nextCloseTime": "2025-11-27T03:25:07.541Z"
}Modify the details of specific business hours, such as their name, schedule.
Provide the token that is returned upon login
Business Hours entry UUID
updated
Workspace not found
Invalid request
PATCH /workspaces/{workspaceId}/business-hours/{businessHourId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 656
{
"name": "text",
"description": "text",
"timezone": "text",
"weeklySchedule": {
"monday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"tuesday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"wednesday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"thursday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"friday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"saturday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"sunday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
}
},
"holidays": [
{
"name": "text",
"day": 1,
"month": 1
}
],
"assignedTeamIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"timezone": "text",
"weeklySchedule": {
"monday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"tuesday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"wednesday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"thursday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"friday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"saturday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
},
"sunday": {
"from": {
"hour": 1,
"minute": 1
},
"to": {
"hour": 1,
"minute": 1
}
}
},
"holidays": [
{
"name": "text",
"day": 1,
"month": 1
}
],
"assignedTeamIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"createdAt": "2025-11-27T03:25:07.541Z",
"updatedAt": "2025-11-27T03:25:07.541Z",
"currentStatus": "open",
"nextOpenTime": "2025-11-27T03:25:07.541Z",
"nextCloseTime": "2025-11-27T03:25:07.541Z"
}Remove specific business hours, permanently deleting their defined schedule.
Provide the token that is returned upon login
Business Hours entry UUID
Deleted
Business Hours or workspace not found
DELETE /workspaces/{workspaceId}/business-hours/{businessHourId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Determine if the current time falls within the defined business hours, providing information on availability.
Provide the token that is returned upon login
Business Hours entry UUID
ok
Workspace, user or business hours not found
GET /workspaces/{workspaceId}/business-hours/{businessHourId}/check HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"isOpen": true
}Last updated
Was this helpful?

