GET/desk/api/v2/slas/calculatebreach/{ticketId}.json
Calculate the SLA breach for a ticket.
This endpoint is used to calculate the SLA breach for a ticket based on the SLA settings.
The following values are allowed in the [includes](https://apidocs.teamwork.com/guides/desk/relationships-and-includes) query parameter:
- businesshours
- messages
- slacompanies
- slacustomers
- slainboxes
- slanotifications
- slatags
- slaticketpriorities
- slatickettypes
- users
- all
Path Params
- Name
ticketId
- Type
- integer
- required
- Description
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
SLABreachAPIBody handles the response for the ticket SLA breach calculation.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.
200 OK
SLABreachAPIBody
{ "breach": "2025-07-07T10:27:00.306Z", "message": { "agentsNotified": [ { "delete": true, "id": 0, "meta": { "additionalProp": "Unknown Type: any" }, "type": 0 } ], "assigningUser": { "delete": true, "id": 0, "meta": { "additionalProp": "Unknown Type: any"