Skip to content

Update SLA policy

PUT/omnichannel/sla-policies/{id}

Updates time targets or conditions on an existing SLA policy. Changes apply to new conversations only; in-flight SLA clocks are not retroactively adjusted.

Request

Path parameters

NameTypeRequiredDescription
idintegerYes

The numeric ID of the SLA policy to update.

Request body

Content type application/json (required).

FieldTypeRequiredDescription
namestringYes

Human-readable SLA policy name.

Max length: 180

first_response_minutesintegerNo

Maximum minutes allowed before the first agent response.

Default: 60 · Minimum: 1

resolution_minutesintegerNo

Maximum minutes allowed for full conversation resolution.

Default: 1440 · Minimum: 1

escalation_minutesintegerNo

Minutes after first_response_minutes before auto-escalation triggers.

Default: 30 · Minimum: 1

is_activebooleanNo

Default: true

conditions_jsonstringNo

JSON array of conditions restricting which conversations this policy applies to.

Example

{
  "name": "Standard Email SLA (updated)",
  "first_response_minutes": 45,
  "resolution_minutes": 1200,
  "is_active": true
}

Responses

200 SLA policy updated

404 SLA policy not found

Example request

curl -X PUT "https://{tenant}.faciotech.net/api/v1/omnichannel/sla-policies/{id}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "Standard Email SLA (updated)", "first_response_minutes": 45, "resolution_minutes": 1200, "is_active": true}'
Loading