SLA Policies
Authorizations
Path parameters
workspaceIdstringRequired
Query parameters
limitinteger · min: 1 · max: 100OptionalDefault:
Limits the number of results to return
10pageTokenstringOptional
Pagination token that keeps of track of the current position in the list
reversebooleanOptionalDefault:
Order in which to retrieve the results
falseResponses
200
A paginated list of SLA policies.
application/json
Responseall of
get
/workspaces/{workspaceId}/inbox/sla-policiesGET /workspaces/{workspaceId}/inbox/sla-policies HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
A paginated list of SLA policies.
{
"nextPageToken": "text",
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"timeKeepingMethod": "clock",
"metrics": {
"firstReplyTime": [
{
"priority": "text",
"breachThreshold": 1,
"warningThreshold": 1
}
],
"nextReplyTime": [
{
"priority": "text",
"breachThreshold": 1,
"warningThreshold": 1
}
]
},
"createdAt": "2025-10-24T16:48:11.075Z",
"updatedAt": "2025-10-24T16:48:11.075Z"
}
]
}Authorizations
Path parameters
workspaceIdstringRequired
Body
namestringRequired
descriptionstringRequired
timeKeepingMethodstring · enumRequiredPossible values:
Determine how the timers are tracking expiry.
clockwill simply count using the full 24 hours of a day.businessHourstakes into account the business hours configured for the assigned team.
Responses
201
The SLA policy.
application/json
422
Invalid input
application/json
post
/workspaces/{workspaceId}/inbox/sla-policiesPOST /workspaces/{workspaceId}/inbox/sla-policies HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 235
{
"name": "text",
"description": "text",
"timeKeepingMethod": "clock",
"metrics": {
"firstReplyTime": [
{
"priority": "text",
"breachThreshold": 1,
"warningThreshold": 1
}
],
"nextReplyTime": [
{
"priority": "text",
"breachThreshold": 1,
"warningThreshold": 1
}
]
}
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"timeKeepingMethod": "clock",
"metrics": {
"firstReplyTime": [
{
"priority": "text",
"breachThreshold": 1,
"warningThreshold": 1
}
],
"nextReplyTime": [
{
"priority": "text",
"breachThreshold": 1,
"warningThreshold": 1
}
]
},
"createdAt": "2025-10-24T16:48:11.075Z",
"updatedAt": "2025-10-24T16:48:11.075Z"
}Authorizations
Path parameters
workspaceIdstringRequired
slaPolicyIdstring · uuidRequired
Responses
200
The SLA policy.
application/json
404
Workspace or SLA policy not found
application/json
get
/workspaces/{workspaceId}/inbox/sla-policies/{slaPolicyId}GET /workspaces/{workspaceId}/inbox/sla-policies/{slaPolicyId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"timeKeepingMethod": "clock",
"metrics": {
"firstReplyTime": [
{
"priority": "text",
"breachThreshold": 1,
"warningThreshold": 1
}
],
"nextReplyTime": [
{
"priority": "text",
"breachThreshold": 1,
"warningThreshold": 1
}
]
},
"createdAt": "2025-10-24T16:48:11.075Z",
"updatedAt": "2025-10-24T16:48:11.075Z"
}Authorizations
Path parameters
workspaceIdstringRequired
slaPolicyIdstring · uuidRequired
Body
namestringOptional
descriptionstringOptional
timeKeepingMethodstring · enumOptionalPossible values:
Determine how the timers are tracking expiry.
clockwill simply count using the full 24 hours of a day.businessHourstakes into account the business hours configured for the assigned team.
Responses
200
The SLA policy.
application/json
404
Workspace or SLA policy not found
application/json
422
Invalid input
application/json
patch
/workspaces/{workspaceId}/inbox/sla-policies/{slaPolicyId}PATCH /workspaces/{workspaceId}/inbox/sla-policies/{slaPolicyId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 235
{
"name": "text",
"description": "text",
"timeKeepingMethod": "clock",
"metrics": {
"firstReplyTime": [
{
"priority": "text",
"breachThreshold": 1,
"warningThreshold": 1
}
],
"nextReplyTime": [
{
"priority": "text",
"breachThreshold": 1,
"warningThreshold": 1
}
]
}
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"timeKeepingMethod": "clock",
"metrics": {
"firstReplyTime": [
{
"priority": "text",
"breachThreshold": 1,
"warningThreshold": 1
}
],
"nextReplyTime": [
{
"priority": "text",
"breachThreshold": 1,
"warningThreshold": 1
}
]
},
"createdAt": "2025-10-24T16:48:11.075Z",
"updatedAt": "2025-10-24T16:48:11.075Z"
}Authorizations
Path parameters
workspaceIdstringRequired
slaPolicyIdstring · uuidRequired
Responses
204
OK
No content
404
Workspace or SLA policy not found
application/json
delete
/workspaces/{workspaceId}/inbox/sla-policies/{slaPolicyId}DELETE /workspaces/{workspaceId}/inbox/sla-policies/{slaPolicyId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?

