Skip to main content
PUT
cURL
Omitted fields stay unchanged. When you change any target, at least one target must remain set. A changed phone target only affects callers who start waiting afterwards. See fields.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
name
string
Required string length: 1 - 255
office_hours_id
string<uuid> | null
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
first_reply_target_seconds
integer | null
Required range: 0 < x <= 9007199254740991
next_reply_target_seconds
integer | null
Required range: 0 < x <= 9007199254740991
resolution_target_seconds
integer | null
Required range: 0 < x <= 9007199254740991
answer_target_seconds
integer | null

Phone: callers waiting for a human must be answered within this many seconds (office hours only, when the policy has them).

Required range: 0 < x <= 9007199254740991
answer_target_percent
integer | null

Phone: goal for the share of calls answered within the target.

Required range: 1 <= x <= 100
answer_count_mode
enum<string>

Phone: all_offered counts callers who were never answered as missed; answered_only grades answered calls only.

Available options:
all_offered,
answered_only
answer_short_abandon_seconds
integer | null

Phone: leave out callers who hang up within this many seconds of waiting.

Required range: 0 <= x <= 9007199254740991

Response

Default Response

data
object
required