Unique ID of the client user on whose behalf the agent is making the request. Required for agents. To retrieve a list of client users, use "get.customer_users".
limit
number
no
Maximum number of records to return. See the "Paging" section.
offset
number
no
Number of records to skip before returning results. Default: 0. See the "Paging" section.
filter
object
no
Filtering criteria. See the "Filters" section.
fields
array
no
Fields to include in the response. See the "Viewing returned data" section.
sort
array
no
Sorting criteria. See the "Data sorting" section.
is_deleted
boolean
no
Whether to return deleted statuses. Default: false.
Response parameters
Name
Type
Valid values
Filtering
Sorting
Description
id
number
yes
Unique status ID.
name
string
yes
yes
Status name.
mnemonic
enum
available - available; break - on break; do_not_disturb - do not disturb; not_at_workplace - out of the office; not_at_work - not working; auto_out_call - on an outbound call; unknown - unknown
yes
Status mnemonic. Returned for standard statuses only.
description
string
yes
Status description.
color
string
HEX color code used for the status icon and related interface elements.
is_deleted
boolean
true, false
yes
Whether the status has been deleted.
in_external_allowed_call_directions
array
in - inbound; out - outbound
Allowed directions for incoming external calls.
in_internal_allowed_call_directions
array
in - inbound; out - outbound
Allowed directions for incoming internal calls.
out_external_allowed_call_directions
array
in - inbound; out - outbound
Allowed directions for outgoing external calls.
out_internal_allowed_call_directions
array
in - inbound; out - outbound
Allowed directions for outgoing internal calls.
allowed_phone_protocols
array
PSTN / SIP / SIP_TRUNK / FMC
Phone protocols allowed for calls.
is_select_allowed
boolean
true, false
yes
Whether users can manually select the status.
is_worktime
boolean
true, false
yes
Whether time in this status counts as working time.
is_auto_out_calls_ready
boolean
true, false
yes
Whether employees in this status are ready for automatic outbound calls.