Skip to main content
POST
Create an SLA Rule

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the SLA rule, unique within the company

business_calendar
string | null

The UID of the Business Calendar whose working hours the SLA rule counts time against. Send null to count elapsed time (24/7).

per_priority
boolean | null

Use one target per Request priority instead of the all_* targets.

pause_on_waiting
boolean

Pause the SLA clock while the Request is waiting for the requester.

pause_on_snoozed
boolean

Pause the SLA clock while the Request is snoozed.

pause_when_pending_approval
boolean

Pause the SLA clock while the Request is pending approval.

alert_behavior
enum<string>

When assignees are alerted: never, before the breach (see the alert_before_* settings), or at_breach.

Available options:
at_breach,
before,
never
all_first_response_time_enabled
boolean

Whether the first response time target for all Requests (used when per_priority is false) is enabled.

all_first_response_time_minutes
integer

The first response time target for all Requests (used when per_priority is false), in total minutes. Required, and divisible by the unit, when enabled.

Required range: 0 <= x <= 2147483647
all_first_response_time_unit
enum<string>

The unit the first response time target for all Requests (used when per_priority is false) is displayed in. It does not change all_first_response_time_minutes.

Available options:
days,
hours,
minutes,
months,
weeks
all_time_to_resolve_enabled
boolean

Whether the time to resolve target for all Requests (used when per_priority is false) is enabled.

all_time_to_resolve_minutes
integer

The time to resolve target for all Requests (used when per_priority is false), in total minutes. Required, and divisible by the unit, when enabled.

Required range: 0 <= x <= 2147483647
all_time_to_resolve_unit
enum<string>

The unit the time to resolve target for all Requests (used when per_priority is false) is displayed in. It does not change all_time_to_resolve_minutes.

Available options:
days,
hours,
minutes,
months,
weeks
low_first_response_time_enabled
boolean

Whether the first response time target for low priority Requests (used when per_priority is true) is enabled.

low_first_response_time_minutes
integer

The first response time target for low priority Requests (used when per_priority is true), in total minutes. Required, and divisible by the unit, when enabled.

Required range: 0 <= x <= 2147483647
low_first_response_time_unit
enum<string>

The unit the first response time target for low priority Requests (used when per_priority is true) is displayed in. It does not change low_first_response_time_minutes.

Available options:
days,
hours,
minutes,
months,
weeks
low_time_to_resolve_enabled
boolean

Whether the time to resolve target for low priority Requests (used when per_priority is true) is enabled.

low_time_to_resolve_minutes
integer

The time to resolve target for low priority Requests (used when per_priority is true), in total minutes. Required, and divisible by the unit, when enabled.

Required range: 0 <= x <= 2147483647
low_time_to_resolve_unit
enum<string>

The unit the time to resolve target for low priority Requests (used when per_priority is true) is displayed in. It does not change low_time_to_resolve_minutes.

Available options:
days,
hours,
minutes,
months,
weeks
medium_first_response_time_enabled
boolean

Whether the first response time target for medium priority Requests (used when per_priority is true) is enabled.

medium_first_response_time_minutes
integer

The first response time target for medium priority Requests (used when per_priority is true), in total minutes. Required, and divisible by the unit, when enabled.

Required range: 0 <= x <= 2147483647
medium_first_response_time_unit
enum<string>

The unit the first response time target for medium priority Requests (used when per_priority is true) is displayed in. It does not change medium_first_response_time_minutes.

Available options:
days,
hours,
minutes,
months,
weeks
medium_time_to_resolve_enabled
boolean

Whether the time to resolve target for medium priority Requests (used when per_priority is true) is enabled.

medium_time_to_resolve_minutes
integer

The time to resolve target for medium priority Requests (used when per_priority is true), in total minutes. Required, and divisible by the unit, when enabled.

Required range: 0 <= x <= 2147483647
medium_time_to_resolve_unit
enum<string>

The unit the time to resolve target for medium priority Requests (used when per_priority is true) is displayed in. It does not change medium_time_to_resolve_minutes.

Available options:
days,
hours,
minutes,
months,
weeks
high_first_response_time_enabled
boolean

Whether the first response time target for high priority Requests (used when per_priority is true) is enabled.

high_first_response_time_minutes
integer

The first response time target for high priority Requests (used when per_priority is true), in total minutes. Required, and divisible by the unit, when enabled.

Required range: 0 <= x <= 2147483647
high_first_response_time_unit
enum<string>

The unit the first response time target for high priority Requests (used when per_priority is true) is displayed in. It does not change high_first_response_time_minutes.

Available options:
days,
hours,
minutes,
months,
weeks
high_time_to_resolve_enabled
boolean

Whether the time to resolve target for high priority Requests (used when per_priority is true) is enabled.

high_time_to_resolve_minutes
integer

The time to resolve target for high priority Requests (used when per_priority is true), in total minutes. Required, and divisible by the unit, when enabled.

Required range: 0 <= x <= 2147483647
high_time_to_resolve_unit
enum<string>

The unit the time to resolve target for high priority Requests (used when per_priority is true) is displayed in. It does not change high_time_to_resolve_minutes.

Available options:
days,
hours,
minutes,
months,
weeks
urgent_first_response_time_enabled
boolean

Whether the first response time target for urgent priority Requests (used when per_priority is true) is enabled.

urgent_first_response_time_minutes
integer

The first response time target for urgent priority Requests (used when per_priority is true), in total minutes. Required, and divisible by the unit, when enabled.

Required range: 0 <= x <= 2147483647
urgent_first_response_time_unit
enum<string>

The unit the first response time target for urgent priority Requests (used when per_priority is true) is displayed in. It does not change urgent_first_response_time_minutes.

Available options:
days,
hours,
minutes,
months,
weeks
urgent_time_to_resolve_enabled
boolean

Whether the time to resolve target for urgent priority Requests (used when per_priority is true) is enabled.

urgent_time_to_resolve_minutes
integer

The time to resolve target for urgent priority Requests (used when per_priority is true), in total minutes. Required, and divisible by the unit, when enabled.

Required range: 0 <= x <= 2147483647
urgent_time_to_resolve_unit
enum<string>

The unit the time to resolve target for urgent priority Requests (used when per_priority is true) is displayed in. It does not change urgent_time_to_resolve_minutes.

Available options:
days,
hours,
minutes,
months,
weeks
alert_before_first_response_time_enabled
boolean

Whether the delay before the first response time breach at which alerts are sent (used when alert_behavior is before) is enabled.

alert_before_first_response_time_minutes
integer

The delay before the first response time breach at which alerts are sent (used when alert_behavior is before), in total minutes. Required, and divisible by the unit, when enabled.

Required range: 0 <= x <= 2147483647
alert_before_first_response_time_unit
enum<string>

The unit the delay before the first response time breach at which alerts are sent (used when alert_behavior is before) is displayed in. It does not change alert_before_first_response_time_minutes.

Available options:
days,
hours,
minutes,
months,
weeks
alert_before_time_to_resolve_enabled
boolean

Whether the delay before the time to resolve breach at which alerts are sent (used when alert_behavior is before) is enabled.

alert_before_time_to_resolve_minutes
integer

The delay before the time to resolve breach at which alerts are sent (used when alert_behavior is before), in total minutes. Required, and divisible by the unit, when enabled.

Required range: 0 <= x <= 2147483647
alert_before_time_to_resolve_unit
enum<string>

The unit the delay before the time to resolve breach at which alerts are sent (used when alert_behavior is before) is displayed in. It does not change alert_before_time_to_resolve_minutes.

Available options:
days,
hours,
minutes,
months,
weeks

Response

SLA rule created

result
object
required