Skip to main content
POST
Create SLA policie

Authorizations

x-api-key
string
header
required

API key from Settings > API Keys or POST /v1/api-keys. Format f9_live_<32 hex chars> (live) or f9_test_<32 hex chars> (sandbox — no real sends, ever). Legacy wcrm_live_ / wcrm_test_ keys still authenticate but are no longer issued. Shown once at creation; only a hash is stored.

Body

application/json

On create: name, priority, entity_type, the three times and operational_hours are required. reminders / escalations, when present, replace the existing set.

name
string
description
string | null
priority
enum<string>
Available options:
Urgent,
High,
Medium,
Low
entity_type
enum<string>
Available options:
lead,
customer,
deal
entity_filter
object
first_response_time
integer
Required range: x >= 1
every_response_time
integer
Required range: x >= 1
resolution_time
integer
Required range: x >= 1
operational_hours
enum<string>
Available options:
business_hours,
24/7
business_hours_start
string | null
business_hours_end
string | null
business_days
integer[]
is_active
boolean
use_user_schedule
boolean
reminders
object[]
escalations
object[]

Response

Created

success
enum<boolean>
Available options:
true
data
object
meta
object