Skip to main content
POST
cURL
At least one of first_reply_target_seconds, next_reply_target_seconds, resolution_target_seconds, or answer_target_seconds is required. See fields for ranges and the phone answer-time options.

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
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