Conversations
Create an SLA policy
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Body
application/jsonbreach_prioritystringThe priority a ticket or conversation is raised to when it misses a target of this policy: low, medium, high or urgent, such as "urgent". It is only raised, never lowered. Send "none" for no priority change on a breach.
Available options:nonelowmediumhighurgent
breach_team_idstringId of the team, starting with team_, such as team_01jx2m8k4t. Find it with GET /teams.
Maximum length: 64
descriptionstringThe description of the sla policy, at most 500 characters.
Maximum length: 500
first_reply_secondsintegerA length of time in seconds, such as 3600 for one hour.
Format: int32 · Minimum: 0 · Maximum: 31536000
follow_up_secondsintegerA length of time in seconds, such as 3600 for one hour.
Format: int32 · Minimum: 0 · Maximum: 31536000
namestringThe name of the sla policy, at most 80 characters.
Maximum length: 80
next_reply_secondsintegerA length of time in seconds, such as 3600 for one hour.
Format: int32 · Minimum: 0 · Maximum: 31536000
pause_on_waiting_customerbooleantrue to pause the clocks while a ticket is in a state waiting on the customer, or a conversation is snoozed; false to keep them running. A new policy starts with true.
pause_on_waiting_teambooleantrue to pause the clocks while a ticket is in a state waiting on another team; false to keep them running. A new policy starts with false.
prioritiesstring[] | nullThe ticket priorities this policy applies to, as a list of none, low, medium, high, urgent, such as ["high", "urgent"]. An empty list means any priority. A policy with no priorities and no ticket types is never applied on its own. When updating, sending it replaces the list.
Maximum items: 5
resolution_secondsintegerA length of time in seconds, such as 3600 for one hour.
Format: int32 · Minimum: 0 · Maximum: 31536000
schedule_idstringId of the office hours schedule, starting with sch_, such as sch_01jx2m8k4t. Find it with GET /schedules.
Maximum length: 64
ticket_type_idsstring[] | nullIds of ticket types, as a list, such as ["tktt_01jx2m8k4t"]. Find them with GET /ticket-types.
Maximum items: 50
warn_before_secondsintegerA length of time in seconds, such as 3600 for one hour.
Format: int32 · Minimum: 0 · Maximum: 604800
Response 201
CreateddataobjectrequiredShow child attributesHide child attributes
archived_atstring | nullrequiredWhen the policy was archived; null while it is in use.
Format: date-time
breach_prioritystring | nullrequiredPriority a breach raises the work to: none, low, medium, high or urgent; null to leave the priority alone.
breach_team_idstring | nullrequiredId of the team a breach moves the work to, such as team_...; null to leave it where it is.
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
descriptionstringrequiredWhat the policy is for; empty when none was written.
first_reply_secondsinteger | nullrequiredSeconds allowed for the first reply, counted in the schedule's open hours; null when the policy sets no such target.
Format: int32
follow_up_secondsinteger | nullrequiredSeconds allowed for a follow-up when the team spoke last; null when the policy sets no such target.
Format: int32
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredThe policy's name.
next_reply_secondsinteger | nullrequiredSeconds allowed for every reply after the first; null when the policy sets no such target.
Format: int32
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
pause_on_waiting_customerbooleanrequiredTrue when the policy's clocks pause while the work waits on the customer.
pause_on_waiting_teambooleanrequiredTrue when the policy's clocks pause while the work waits on another team.
positionintegerrequiredThe policy's place in the order policies are tried; the first one matching a new ticket's type and priority applies.
Format: int32
prioritiesstring[] | nullrequiredPriorities of new tickets the policy applies to: none, low, medium, high or urgent. Empty when it names none.
resolution_secondsinteger | nullrequiredSeconds allowed to resolve the work; null when the policy sets no such target.
Format: int32
schedule_idstring | nullrequiredId of the schedule whose open hours the targets count in, such as sch_...; null when the policy has none.
ticket_type_idsstring[] | nullrequiredIds of the ticket types the policy applies to new tickets of, such as tktt_...; empty when it names none.
updated_atstringrequiredWhen it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
warn_before_secondsintegerrequiredHow many seconds before a target is due the team is warned.
Format: int32
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.