Skip to main content
PATCH
Update an SLA policy

Authorizations

Authorization
string
header
required

API key (fam_..., created under Settings → API Keys) or an OAuth 2.0 access token (fam_at_...). REST operations also require API Access for the credential's workspace. Keys can be restricted to scopes such as assistants:read, calls:write, campaigns:write, automations:read, dashboards:read, dashboards:write, leads:write, segments:write, loop:read, loop:write, phone_numbers:write, sip_trunks:write, knowledge:write, voices:read, billing:read, billing:write, settings:write, platform:read, platform:write; a *:write scope implies the matching *:read. Automation and dashboard endpoints also accept the legacy calls:* scope. Keys without scope restrictions have full access within the workspace's available capabilities.

Path Parameters

id
string<uuid>
required

SLA policy ID.

Body

application/json

Fields to change. Omitted fields stay as they are; lists and times are replaced as sent.

name
string
Required string length: 1 - 60
enabled
boolean

A disabled policy sets no timers; switching it off removes the timers from open conversations.

position
integer

Sort position. The first enabled policy that matches a conversation applies. Prefer reorderHistorySlaPolicies to reorder all of them.

Required range: 0 <= x <= 999
priorities
enum<string>[]

Match these priorities, or all when empty.

Priority of a History entry. New entries are normal.

Available options:
low,
normal,
high,
urgent
group_ids
string<uuid>[]

Match conversations of these workspace groups (listWorkspaceGroups), or all when empty.

Maximum array length: 20
category_ids
string<uuid>[]

Match these Inbox categories (listHistoryCategories), or all when empty.

Maximum array length: 40
channels
enum<string>[]

Match these channels, or all when empty.

Maximum array length: 12

Channel of a conversation.

Available options:
sms,
call,
avatar,
email,
live_chat,
whatsapp_voice,
whatsapp,
telegram,
slack,
messenger,
teams,
discord,
gchat,
x,
linear,
notion,
twitch,
mattermost,
webex,
lark,
line,
sendblue,
linq,
zernio,
freshdesk,
gmail,
outlook,
zendesk,
servicenow,
intercom,
zoho_mail,
agent_mail,
instagram,
zulip
assistant_ids
string<uuid>[]

Match these assistants, or all when empty.

Maximum array length: 50
first_response_minutes
integer | null

Minutes until the first reply of a team member is due. AI replies never count.

Required range: 1 <= x <= 43200
resolve_minutes
integer | null

Minutes until the conversation should be solved or closed.

Required range: 1 <= x <= 43200
business_hours_only
boolean

Count only the workspace business hours. Needs business hours to be on (409 otherwise).

Response

The updated policy.

data
object
required