Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel3

...

GET /client/{client_

...

id}/agent/local/{

...

agent_id}/events/

Update clientGet queue events

Path parameters

Name

Type

Description

client_id

string

Required.

agent_id

integer

Required.

...

Query parameters

Name

Type

Description

holdstart_musicdatetime

integer

Music on hold sound idstring

Required. Start datetime.

sip_network_permission_id

integer

timezone

string

disk_space_notify_email

string

disk_space_notify_threshold

integer

dial_rule_id

integer

geo_list

string

Resource fields

end_datetime

string

Required. End datetime.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

event_name

array [string]

Event type.

...

GET /client/{client_id}/agent/remote/{agent_id}/events/

Get queue events

Path parameters

Name

Type

Description

domain

string

create_dateclient_id

string

hold_music

integer

presence

string

sip_network_permission_Required.

agent_id

integerprefix

Required.

string

record_stereo

boolean

Default: False

ambassadors

string

id

integer

Resource id.

domain_prefix

string

contact_phones

string

timezone

string

Default: Europe/Moscow

dial_rule_id

integer

did_as_transfer_caller_id

string

type

string

email

string

reg_status_log

boolean

fact_address

string

disk_space_notify_threshold

integer

extension_len

integer

geo_list

string

jur_address

string

name

string

language

string

record_format

string

Default: mp3

short_local_caller_id

string

disk_space_notify_email

string

extra_params

string

GET /client/client_info/{client_id}/

Get client

Path parameters

Name

Type

Description

client_id

string

Required.

Resource fields

Name

Type

Description

domain

string

create_date

string

hold_music

integer

presence

string

sip_network_permission_id

integer

prefix

string

record_stereo

boolean

Default: False

ambassadors

string

id

integer

Resource id.

domain_prefix

string

contact_phones

string

timezone

string

Default: Europe/Moscow

dial_rule_id

integer

did_as_transfer_caller_id

string

type

string

email

string

reg_status_log

boolean

fact_address

string

disk_space_notify_threshold

integer

extension_len

integer

geo_list

string

jur_address

string

name

string

language

string

record_format

string

Default: mp3

short_local_caller_id

string

disk_space_notify_email

string

extra_params

string

POST /client/{client_id}/agent/local/

Add new agent

Path parameters

Name

Type

Description

client_id

string

Required.

JSON parameters

Name

Type

Description

status

string

Agent status. One of 'available', 'logged_out'. Default: available

agent_sound_id

integer

name

string

Required. Agent name.

busy_delay_time

integer

If the agent is on do not disturb, we wait this defined time before trying him again. Default: 10

no_answer_delay_time

integer

If the agent does not answer the call, we wait this defined time before trying him again. Default: 10

call_timeout

integer

Agent call timeout.

wrap_up_time

integer

Allow an agent to have a delay when finishing a call before receiving another one. Default: 0

extension_id

integer

Required. Agent extension id.

reject_delay_time

integer

If the agent press the reject on their phone, we wait this defined time amount. Default: 10

extra_params

string

Resource fields

Name

Type

Description

status

object

agent_sound_id

integer

name

string

busy_delay_time

integer

no_answer_delay_time

integer

call_timeout

integer

Default: 60

wrap_up_time

integer

extension_id

integer

reject_delay_time

integer

extra_params

string

id

integer

Resource id.

GET /client/{client_id}/agent/local/

Get agents list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

extension_id

array [integer]

Resource fields

Name

Type

Description

status

object

agent_sound_id

integer

name

string

busy_delay_time

integer

no_answer_delay_time

integer

call_timeout

integer

Default: 60

wrap_up_time

integer

extension_id

integer

reject_delay_time

integer

extra_params

string

id

integer

Resource id.

PUT /client/{client_id}/agent/local/{agent_id}

Update agent

Path parameters

Name

Type

Description

agent_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

status

string

Agent status. One of 'available', 'logged_out'.

agent_sound_id

integer

name

string

Agent name.

busy_delay_time

integer

If the agent is on do not disturb, we wait this defined time before trying him again.

no_answer_delay_time

integer

If the agent does not answer the call, we wait this defined time before trying him again.

call_timeout

integer

Agent call timeout.

wrap_up_time

integer

Allow an agent to have a delay when finishing a call before receiving another one.

reject_delay_time

integer

If the agent press the reject on their phone, we wait this defined time amount.

extra_params

string

Resource fields

Name

Type

Description

status

object

agent_sound_id

integer

name

string

busy_delay_time

integer

no_answer_delay_time

integer

call_timeout

integer

Default: 60

wrap_up_time

integer

extension_id

integer

reject_delay_time

integer

extra_params

string

id

integer

Resource id.

GET /client/{client_id}/agent/local/{agent_id}

Get agent by id

Path parameters

Name

Type

Description

agent_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

status

object

agent_sound_id

integer

name

string

busy_delay_time

integer

no_answer_delay_time

integer

call_timeout

integer

Default: 60

wrap_up_time

integer

extension_id

integer

reject_delay_time

integer

extra_params

string

id

integer

Resource id.

DELETE /client/{client_id}/agent/local/{agent_id}

Delete agent

Path parameters

Name

Type

Description

agent_id

integer

Required.

client_id

string

Required.

Query parameters

Name

Type

Description

remove_from_queues

boolean

Default: True

POST /client/{client_id}/agent/local/{agent_id}/event/

Add agent http event

Path parameters

Name

Type

Description

agent_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

url

string

Required. Request url.

event_type

string

Required. Call event type. One of 'agent-login', 'agent-logout'.

method

string

Required. Http request method. One of 'GET', 'POST'.

Resource fields

Name

Type

Description

url

string

method

string

event_type

string

id

integer

Resource id.

GET /client/{client_id}/agent/local/{agent_id}/event/

Get agent http events

Path parameters

Name

Type

Description

agent_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

url

string

method

string

event_type

string

id

integer

Resource id.

PUT /client/{client_id}/agent/local/{agent_id}/event/{event_id}

Update agent http event

Path parameters

Name

Type

Description

event_id

integer

Required.

agent_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

url

string

Request url.

event_type

string

Call event type. One of 'agent-login', 'agent-logout'.

method

string

Http request method. One of 'GET', 'POST'.

Resource fields

Name

Type

Description

url

string

method

string

event_type

string

id

integer

Resource id.

GET /client/{client_id}/agent/local/{agent_id}/event/{event_id}

Get agent http event

Path parameters

Name

Type

Description

event_id

integer

Required.

agent_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

url

string

method

string

event_type

string

id

integer

Resource id.

DELETE /client/{client_id}/agent/local/{agent_id}/event/{event_id}

Delete agent http event

Path parameters

Name

Type

Description

event_id

integer

Required.

agent_id

integer

Required.

client_id

string

Required.

GET /client/{client_id}/agent/local/{agent_id}/events/

Get queue events

Path parameters

Name

Type

Description

agent_id

integer

Required.

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required. Start datetime.

event_name

array [string]

Event type.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

end_datetime

string

Required. End datetime.

POST /client/{client_id}/agent/remote/

Add new agent

Path parameters

Name

Type

Description

client_id

string

Required.

JSON parameters

Name

Type

Description

status

string

Agent status. One of 'available', 'logged_out'. Default: available

agent_sound_id

integer

name

string

Required. Agent name.

busy_delay_time

integer

If the agent is on do not disturb, we wait this defined time before trying him again. Default: 10

no_answer_delay_time

integer

If the agent does not answer the call, we wait this defined time before trying him again. Default: 10

call_timeout

integer

Agent call timeout.

number

string

Required. Agent number.

wrap_up_time

integer

Allow an agent to have a delay when finishing a call before receiving another one. Default: 0

reject_delay_time

integer

If the agent press the reject on their phone, we wait this defined time amount. Default: 10

extra_params

string

Resource fields

Name

Type

Description

status

object

agent_sound_id

integer

name

string

busy_delay_time

integer

no_answer_delay_time

integer

call_timeout

integer

Default: 60

number

string

wrap_up_time

integer

reject_delay_time

integer

extra_params

string

id

integer

Resource id.

GET /client/{client_id}/agent/remote/

Get agents list

Path parameters

Name

Type

Description

client_id

string

Required.

Resource fields

Name

Type

Description

status

object

agent_sound_id

integer

name

string

busy_delay_time

integer

no_answer_delay_time

integer

call_timeout

integer

Default: 60

number

string

wrap_up_time

integer

reject_delay_time

integer

extra_params

string

id

integer

Resource id.

PUT /client/{client_id}/agent/remote/{agent_id}

Update agent

Path parameters

Name

Type

Description

agent_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

status

string

Agent status. One of 'available', 'logged_out'.

agent_sound_id

integer

name

string

Agent name.

busy_delay_time

integer

If the agent is on do not disturb, we wait this defined time before trying him again.

no_answer_delay_time

integer

If the agent does not answer the call, we wait this defined time before trying him again.

call_timeout

integer

Agent call timeout.

number

string

Agent number.

wrap_up_time

integer

Allow an agent to have a delay when finishing a call before receiving another one.

reject_delay_time

integer

If the agent press the reject on their phone, we wait this defined time amount.

extra_params

string

Resource fields

Name

Type

Description

status

object

agent_sound_id

integer

name

string

busy_delay_time

integer

no_answer_delay_time

integer

call_timeout

integer

Default: 60

number

string

wrap_up_time

integer

reject_delay_time

integer

extra_params

string

id

integer

Resource id.

GET /client/{client_id}/agent/remote/{agent_id}

Get agent by id

Path parameters

Name

Type

Description

agent_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

status

object

agent_sound_id

integer

name

string

busy_delay_time

integer

no_answer_delay_time

integer

call_timeout

integer

Default: 60

number

string

wrap_up_time

integer

reject_delay_time

integer

extra_params

string

id

integer

Resource id.

DELETE /client/{client_id}/agent/remote/{agent_id}

Delete agent

Path parameters

Name

Type

Description

agent_id

integer

Required.

client_id

string

Required.

Query parameters

Name

Type

Description

remove_from_queues

boolean

Default: True

POST /client/{client_id}/agent/remote/{agent_id}/event/

Add agent http event

Path parameters

Name

Type

Description

agent_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

url

string

Required. Request url.

event_type

string

Required. Call event type. One of 'agent-login', 'agent-logout'.

method

string

Required. Http request method. One of 'GET', 'POST'.

Resource fields

Name

Type

Description

url

string

method

string

event_type

string

id

integer

Resource id.

GET /client/{client_id}/agent/remote/{agent_id}/event/

Get agent http events

Path parameters

Name

Type

Description

agent_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

url

string

method

string

event_type

string

id

integer

Resource id.

PUT /client/{client_id}/agent/remote/{agent_id}/event/{event_id}

Update agent http event

Path parameters

Name

Type

Description

event_id

integer

Required.

agent_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

url

string

Request url.

event_type

string

Call event type. One of 'agent-login', 'agent-logout'.

method

string

Http request method. One of 'GET', 'POST'.

Resource fields

Name

Type

Description

url

string

method

string

event_type

string

id

integer

Resource id.

GET /client/{client_id}/agent/remote/{agent_id}/event/{event_id}

Get agent http event

Path parameters

Name

Type

Description

event_id

integer

Required.

agent_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

url

string

method

string

event_type

string

id

integer

Resource id.

DELETE /client/{client_id}/agent/remote/{agent_id}/event/{event_id}

Delete agent http event

Path parameters

Name

Type

Description

event_id

integer

Required.

agent_id

integer

Required.

client_id

string

Required.

GET /client/{client_id}/agent/remote/{agent_id}/events/

Get queue events

Path parameters

Name

Type

Description

agent_id

integer

Required.

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required. Start datetime.

event_name

array [string]

Event type.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

end_datetime

string

Required. End datetime.

GET /client/{client_id}/alias/

Get alias list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

domain

array [string]

name

array [string]

page

integer

Default: 1

extension_id

array [integer]

per_page

integer

id

array [integer]

Resource fields

Name

Type

Description

comment

string

domain

object

create_date

string

name

string

extension_id

integer

client_id

integer

id

integer

Resource id.

PUT /client/{client_id}/alias/{alias_id}

Update alias

Path parameters

Name

Type

Description

alias_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

extension_id

integer

Resource fields

Name

Type

Description

comment

string

domain

object

create_date

string

name

string

extension_id

integer

client_id

integer

id

integer

Resource id.

GET /client/{client_id}/alias/{alias_id}

Get alias

Path parameters

Name

Type

Description

alias_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

comment

string

domain

object

create_date

string

name

string

extension_id

integer

client_id

integer

id

integer

Resource id.

PUT /client/{client_id}/ani/

Update client ani

Path parameters

Name

Type

Description

client_id

integer

Required.

JSON parameters

Name

Type

Description

ani_number

string

Required. Client ani.

Resource fields

Name

Type

Description

default

string

GET /client/{client_id}/ani/

Get client ani

Path parameters

Name

Type

Description

client_id

integer

Required.

Resource fields

Name

Type

Description

default

string

GET /client/{client_id}/call_history/

Get call history list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required.

from_username

array [string]

start_bridged_duration

integer

flow

array [string]

One of 'in', 'out'.

bridged_username

array [string]

end_bridged_duration

integer

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

end_datetime

string

Required.

did_number

array [string]

per_page

integer

Items per page. Default: 100000

end_duration

integer

extension_id

array [integer]

to_username

array [string]

start_duration

integer

page

integer

Result page. Default: 1

Resource fields

Name

Type

Description

per_page

integer

Items per page.

call_history

array [call_history]

Default: []

order

string

Datetime sorting order.

page

integer

Result page.

Resource call_history

Name

Type

Description

flow

string

result

string

cdr

array [cdr_response]

duration

integer

hangup_time_gmt

string

bridged_domain

string

to_domain

string

from_username

string

start_time_gmt

string

to_username

string

ext_number_reg

string

hangup_cause

string

hangup_disposition

string

extension_group_owner_id

integer

init_time_gmt

string

from_domain

string

call_uuid

string

extension_type

string

did_domain

string

from_screen_name

string

bridged_duration

integer

bridged_time_gmt

string

extension_name

string

bridged_username

string

extension_id

integer

did_number

string

client_owner_id

integer

GET /client/{client_id}/call_history/{call_uuid}

Get call history item

Path parameters

Name

Type

Description

client_id

string

Required.

call_uuid

string

Required.

Resource fields

Name

Type

Description

flow

string

result

string

cdr

array [cdr_response]

duration

integer

hangup_time_gmt

string

bridged_domain

string

to_domain

string

from_username

string

start_time_gmt

string

to_username

string

ext_number_reg

string

hangup_cause

string

hangup_disposition

string

extension_group_owner_id

integer

init_time_gmt

string

from_domain

string

call_uuid

string

extension_type

string

did_domain

string

from_screen_name

string

bridged_duration

integer

bridged_time_gmt

string

extension_name

string

bridged_username

string

extension_id

integer

did_number

string

client_owner_id

integer

Resource cdr_response

Name

Type

Description

to_username

string

source_number

string

result

string

duration

integer

hangup_time_gmt

string

to_domain

string

record_file_size

integer

calls_result

string

from_username

string

calls_hangup_disposition

string

ani_number

string

application

string

start_time_gmt

string

ext_number_reg

string

hangup_cause

string

hangup_disposition

string

extension_group_owner_id

integer

init_time_gmt

string

source_domain

string

dest_domain

string

record_uuid

string

from_domain

string

call_uuid

string

extension_type

string

did_domain

string

from_screen_name

string

extension_name

string

flow

string

dest_number

string

extension_id

integer

did_number

string

client_owner_id

integer

GET /client/{client_id}/calls/

Get call list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required.

from_username

array [string]

start_bridged_duration

integer

flow

array [string]

One of 'in', 'out'.

bridged_username

array [string]

end_bridged_duration

integer

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

end_datetime

string

Required.

did_number

array [string]

per_page

integer

Items per page. Default: 100000

end_duration

integer

extension_id

array [integer]

to_username

array [string]

start_duration

integer

page

integer

Result page. Default: 1

Resource fields

Name

Type

Description

per_page

integer

Items per page.

order

string

Datetime sorting order.

calls

array [calls]

page

integer

Result page.

Resource calls

Name

Type

Description

flow

string

result

string

duration

integer

hangup_time_gmt

string

bridged_domain

string

to_domain

string

from_username

string

start_time_gmt

string

to_username

string

ext_number_reg

string

hangup_cause

string

hangup_disposition

string

extension_group_owner_id

integer

init_time_gmt

string

from_domain

string

call_uuid

string

extension_type

string

did_domain

string

from_screen_name

string

bridged_duration

integer

bridged_time_gmt

string

extension_name

string

bridged_username

string

extension_id

integer

did_number

string

client_owner_id

integer

GET /client/{client_id}/calls/stats/

Get calls statistics

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required.

end_datetime

string

Required.

extension_id

array [integer]

GET /client/{client_id}/cdr/

Get call list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required.

from_username

array [string]

to_username

array [string]

flow

array [string]

One of 'in', 'out', 'transfer'.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

extension_id

array [integer]

end_datetime

string

Required.

extension_type

array [string]

per_page

integer

Items per page. Default: 100000

end_duration

integer

start_duration

integer

page

integer

Result page. Default: 1

Resource fields

Name

Type

Description

per_page

integer

Items per page.

order

string

Datetime sorting order.

cdr

array [cdr_response]

page

integer

Result page.

Resource cdr_response

Name

Type

Description

to_username

string

source_number

string

result

string

duration

integer

hangup_time_gmt

string

to_domain

string

record_file_size

integer

calls_result

string

from_username

string

calls_hangup_disposition

string

ani_number

string

application

string

start_time_gmt

string

ext_number_reg

string

hangup_cause

string

hangup_disposition

string

extension_group_owner_id

integer

init_time_gmt

string

source_domain

string

dest_domain

string

record_uuid

string

from_domain

string

call_uuid

string

extension_type

string

did_domain

string

from_screen_name

string

extension_name

string

flow

string

dest_number

string

extension_id

integer

did_number

string

client_owner_id

integer

GET /client/{client_id}/cdr/stats/

Get calls statistics

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required.

end_datetime

string

Required.

extension_id

array [integer]

PUT /client/{client_id}/client/

Update client

Path parameters

Name

Type

Description

client_id

string

Required.

JSON parameters

Name

Type

Description

hold_music

integer

Music on hold sound id.

sip_network_permission_id

integer

timezone

string

disk_space_notify_email

string

disk_space_notify_threshold

integer

dial_rule_id

integer

geo_list

string

Resource fields

Name

Type

Description

domain

string

create_date

string

hold_music

integer

presence

string

sip_network_permission_id

integer

prefix

string

record_stereo

boolean

Default: False

ambassadors

string

id

integer

Resource id.

domain_prefix

string

contact_phones

string

timezone

string

Default: Europe/Moscow

dial_rule_id

integer

did_as_transfer_caller_id

string

type

string

email

string

reg_status_log

boolean

fact_address

string

disk_space_notify_threshold

integer

extension_len

integer

geo_list

string

jur_address

string

name

string

language

string

record_format

string

Default: mp3

short_local_caller_id

string

disk_space_notify_email

string

extra_params

string

GET /client/{client_id}/client/

Get client

Path parameters

Name

Type

Description

client_id

string

Required.

Resource fields

Name

Type

Description

domain

string

create_date

string

hold_music

integer

presence

string

sip_network_permission_id

integer

prefix

string

record_stereo

boolean

Default: False

ambassadors

string

id

integer

Resource id.

domain_prefix

string

contact_phones

string

timezone

string

Default: Europe/Moscow

dial_rule_id

integer

did_as_transfer_caller_id

string

type

string

email

string

reg_status_log

boolean

fact_address

string

disk_space_notify_threshold

integer

extension_len

integer

geo_list

string

jur_address

string

name

string

language

string

record_format

string

Default: mp3

short_local_caller_id

string

disk_space_notify_email

string

extra_params

string

GET /client/{client_id}/current_calls/

Get active calls for extension type phone

Path parameters

Name

Type

Description

client_id

string

Required.

Resource fields

Name

Type

Description

call_list

array [call_mdl]

Resource call_mdl

Name

Type

Description

called_number

string

record_uuid

string

init_time_gmt

string

real_call

boolean

Default: True

call_flow

string

called_did

string

callback_id

string

caller_id_name

string

call_api_id

string

extension_id

integer

answer_time_gmt

string

caller_id_number

string

POST /client/{client_id}/dial_rule/

Add client dial rule list

Path parameters

Name

Type

Description

client_id

string

Required.

JSON parameters

Name

Type

Description

dial_rules

array [dial_rule]

Required.

name

string

Required.

Resource dial_rule

Name

Type

Description

comment

string

repl_exp

string

Required.

match_exp

string

Required.

Resource fields

Name

Type

Description

dial_rules

array [dial_rule]

dealer_id

integer

id

integer

Resource id.

client_id

integer

name

string

Resource dial_rule

Name

Type

Description

comment

string

repl_exp

string

Required.

match_exp

string

Required.

GET /client/{client_id}/dial_rule/

Get client dial rule lists list

Path parameters

Name

Type

Description

client_id

string

Required.

Resource fields

Name

Type

Description

dial_rules

array [dial_rule]

dealer_id

integer

id

integer

Resource id.

client_id

integer

name

string

Resource dial_rule

Name

Type

Description

comment

string

repl_exp

string

Required.

match_exp

string

Required.

PUT /client/{client_id}/dial_rule/{dial_rules_id}

Update client dial rule list

Path parameters

Name

Type

Description

client_id

string

Required.

dial_rules_id

integer

Required.

JSON parameters

Name

Type

Description

dial_rules

array [dial_rule]

name

string

Resource dial_rule

Name

Type

Description

comment

string

repl_exp

string

Required.

match_exp

string

Required.

Resource fields

Name

Type

Description

dial_rules

array [dial_rule]

dealer_id

integer

id

integer

Resource id.

client_id

integer

name

string

Resource dial_rule

Name

Type

Description

comment

string

repl_exp

string

Required.

match_exp

string

Required.

GET /client/{client_id}/dial_rule/{dial_rules_id}

Get client dial rule list

Path parameters

Name

Type

Description

client_id

string

Required.

dial_rules_id

integer

Required.

Resource fields

Name

Type

Description

dial_rules

array [dial_rule]

dealer_id

integer

id

integer

Resource id.

client_id

integer

name

string

Resource dial_rule

Name

Type

Description

comment

string

repl_exp

string

Required.

match_exp

string

Required.

DELETE /client/{client_id}/dial_rule/{dial_rules_id}

Delete client dial rule list

Path parameters

Name

Type

Description

client_id

string

Required.

dial_rules_id

integer

Required.

GET /client/{client_id}/did/

Get did list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

domain

array [string]

name

array [string]

page

integer

Default: 1

extension_id

array [integer]

per_page

integer

id

array [integer]

message_extension_id

array [integer]

Resource fields

Name

Type

Description

comment

string

domain

object

create_date

string

message_extension_id

integer

extension_id

integer

client_id

integer

id

integer

Resource id.

allow_message

boolean

name

string

PUT /client/{client_id}/did/{did_id}

Update did

Path parameters

Name

Type

Description

did_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

extension_id

integer

message_extension_id

integer

Resource fields

Name

Type

Description

comment

string

domain

object

create_date

string

message_extension_id

integer

extension_id

integer

client_id

integer

id

integer

Resource id.

allow_message

boolean

name

string

GET /client/{client_id}/did/{did_id}

Get did

Path parameters

Name

Type

Description

did_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

comment

string

domain

object

create_date

string

message_extension_id

integer

extension_id

integer

client_id

integer

id

integer

Resource id.

allow_message

boolean

name

string

GET /client/{client_id}/disk_space/

Get client available free disk space

Path parameters

Name

Type

Description

client_id

string

Required.

Resource fields

Name

Type

Description

total_space

integer

fax_size

integer

voicemail_count

integer

free_space

integer

fax_count

integer

call_records_size

integer

voicemail_size

integer

call_records_count

integer

GET /client/{client_id}/disk_space/stats/

Get client available free disk space

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Start datetime.

end_datetime

string

End datetime.

Resource fields

Name

Type

Description

fax_size

integer

voicemail_count

integer

fax_count

integer

call_records_size

integer

voicemail_size

integer

call_records_count

integer

POST /client/{client_id}/extension/

Add extension

Path parameters

Name

Type

Description

client_id

string

Required.

JSON parameters

Name

Type

Description

status

string

One of 'active', 'blocked'. Default: blocked

dial_rule_limit

integer

name

string

Required.

extra_params

string

label

string

caller_id_name

string

extension_group_id

integer

message_did

string

dial_rule_id

integer

ani_rfc3325

boolean

type

string

Required. One of 'phone', 'queue', 'ivr', 'fax', 'conference'.

did_as_transfer_caller_id

string

One of 'None', 'default', 'from', 'diversion'.

Resource fields

Name

Type

Description

status

string

domain

string

create_date

string

name

string

extra_params

string

extension_group_id

integer

ani

string

label

string

caller_id_name

string

client_id

integer

dial_rule_limit

integer

message_did

string

dial_rule_id

integer

ani_rfc3325

boolean

type

string

id

integer

Resource id.

did_as_transfer_caller_id

string

GET /client/{client_id}/extension/

Get extension list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

status

array [string]

name

array [string]

id

array [string]

extension_group_id

array [string]

per_page

integer

type

array [string]

page

integer

Default: 1

Resource fields

Name

Type

Description

status

string

domain

string

create_date

string

name

string

extra_params

string

extension_group_id

integer

ani

string

label

string

caller_id_name

string

client_id

integer

dial_rule_limit

integer

message_did

string

dial_rule_id

integer

ani_rfc3325

boolean

type

string

id

integer

Resource id.

did_as_transfer_caller_id

string

PUT /client/{client_id}/extension/{extension_id}

Update extension

Path parameters

Name

Type

Description

extension_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

status

string

One of 'active', 'blocked'.

dial_rule_limit

integer

extra_params

string

label

string

caller_id_name

string

extension_group_id

integer

message_did

string

dial_rule_id

integer

ani_rfc3325

boolean

did_as_transfer_caller_id

string

One of 'None', 'default', 'from', 'diversion'.

Resource fields

Name

Type

Description

status

string

domain

string

create_date

string

name

string

extra_params

string

extension_group_id

integer

ani

string

label

string

caller_id_name

string

client_id

integer

dial_rule_limit

integer

message_did

string

dial_rule_id

integer

ani_rfc3325

boolean

type

string

id

integer

Resource id.

did_as_transfer_caller_id

string

GET /client/{client_id}/extension/{extension_id}

Get extension

Path parameters

Name

Type

Description

extension_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

status

string

domain

string

create_date

string

name

string

extra_params

string

extension_group_id

integer

ani

string

label

string

caller_id_name

string

client_id

integer

dial_rule_limit

integer

message_did

string

dial_rule_id

integer

ani_rfc3325

boolean

type

string

id

integer

Resource id.

did_as_transfer_caller_id

string

DELETE /client/{client_id}/extension/{extension_id}

Delete extension

Path parameters

Name

Type

Description

extension_id

integer

Required.

client_id

string

Required.

POST /client/{client_id}/extension_group/

Add extension group

Path parameters

Name

Type

Description

client_id

string

Required.

JSON parameters

Name

Type

Description

name

string

Required.

extra_params

string

Resource fields

Name

Type

Description

name

string

id

integer

Resource id.

client_id

integer

extra_params

string

GET /client/{client_id}/extension_group/

Get extension group list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

id

array [string]

name

array [string]

Resource fields

Name

Type

Description

name

string

id

integer

Resource id.

client_id

integer

extra_params

string

PUT /client/{client_id}/extension_group/{ext_group_id}

Update extension group

Path parameters

Name

Type

Description

ext_group_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

name

string

extra_params

string

Resource fields

Name

Type

Description

name

string

id

integer

Resource id.

client_id

integer

extra_params

string

GET /client/{client_id}/extension_group/{ext_group_id}

Get extension group

Path parameters

Name

Type

Description

ext_group_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

name

string

id

integer

Resource id.

client_id

integer

extra_params

string

DELETE /client/{client_id}/extension_group/{ext_group_id}

Delete extension group

Path parameters

Name

Type

Description

ext_group_id

integer

Required.

client_id

string

Required.

POST /client/{client_id}/extensions_bundle/{extension_id}

Add extension bundle

Path parameters

Name

Type

Description

extension_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

bundle_list

array [integer]

Resource fields

Name

Type

Description

bundle_list

array [integer]

bundle_id

integer

GET /client/{client_id}/extensions_bundle/{extension_id}

Get extension bundle info

Path parameters

Name

Type

Description

extension_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

bundle_list

array [integer]

bundle_id

integer

DELETE /client/{client_id}/extensions_bundle/{extension_id}

Delete extension bundle info

Path parameters

Name

Type

Description

extension_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

bundle_list

array [integer]

bundle_id

integer

GET /client/{client_id}/fax/in/

Get incoming fax messages list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Start datetime.

uuid

array [string]

Fax uuid.

destination

array [string]

Destination number.

caller_id

array [string]

Caller id number.

end_datetime

string

End datetime.

extension_group_id

integer

Extension group id.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

extension_id

integer

Extension id.

Resource fields

Name

Type

Description

uuid

string

Fax uuid.

destination

string

Destination number.

caller_id

string

Caller id.

datetime

string

Record datetime.

file_size

integer

Fax file size.

extension_id

integer

Extension id.

client_id

integer

Client id.

extension_group_id

integer

Extension group id.

DELETE /client/{client_id}/fax/in/

Delete incoming fax messages in interval

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Start datetime.

end_datetime

string

End datetime.

GET /client/{client_id}/fax/in/{fax_uuid}

Get incoming fax message

Path parameters

Name

Type

Description

fax_uuid

string

Required.

client_id

string

Required.

DELETE /client/{client_id}/fax/in/{fax_uuid}

Delete record

Path parameters

Name

Type

Description

fax_uuid

string

Required.

client_id

string

Required.

GET /client/{client_id}/fax/out/

Get client fax messages list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Start datetime.

extension_id

integer

end_datetime

string

End datetime.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

Resource fields

Name

Type

Description

id

integer

Resource id.

status

string

dst_num

string

extension_id

integer

datetime

string

POST /client/{client_id}/interval/

Add interval

Path parameters

Name

Type

Description

client_id

string

Required.

JSON parameters

Name

Type

Description

timezone

string

Required. Interval timezone.

conditions

array [condition]

Required. Datetime conditions.

name

string

Required. Interval name.

Resource condition

Name

Type

Description

start_datetime

string

Start datetime formatted as yyyy-mm-dd hh:mm:ss. if start_datetime and end_datetime passed, other condition parameters will be ignored.

start_dow

integer

Start day of week sun = 1, mon = 2, etc. Min: 1. Max: 7.

sched_skip_days

integer

Min: 1.

sched_start_date

string

Start datetime formatted as yyyy-mm-dd.

month

integer

Month. Min: 1. Max: 12.

end_dow

integer

End day of week sun = 1, mon = 2, etc. Min: 1. Max: 7.

sched_active_days

integer

Min: 1.

end_mday

integer

End month day. Min: 1. Max: 31.

start_mday

integer

Start month day. Min: 1. Max: 31.

end_time

string

End time of day.

start_time

string

Start time of day.

end_datetime

string

End datetime formatted as yyyy-mm-dd hh:mm:ss. if start_datetime and end_datetime passed, other condition parameters will be ignored.

Resource fields

Name

Type

Description

dealer_id

integer

name

string

extension_id

integer

client_id

integer

timezone

string

conditions

array [interval_condition]

id

integer

Resource id.

Resource interval_condition

Name

Type

Description

start_datetime

string

start_dow

integer

Start day of week sun = 1, mon = 2, etc.

sched_skip_days

integer

Min: 1.

sched_start_date

string

Start datetime formatted as yyyy-mm-dd.

month

integer

end_dow

integer

End day of week sun = 1, mon = 2, etc.

sched_active_days

integer

Min: 1.

end_mday

integer

start_mday

integer

end_time

string

type

string

start_time

string

end_datetime

string

GET /client/{client_id}/interval/

Get interval list

Path parameters

Name

Type

Description

client_id

string

Required.

Resource fields

Name

Type

Description

dealer_id

integer

name

string

extension_id

integer

client_id

integer

timezone

string

conditions

array [interval_condition]

id

integer

Resource id.

Resource interval_condition

Name

Type

Description

start_datetime

string

start_dow

integer

Start day of week sun = 1, mon = 2, etc.

sched_skip_days

integer

Min: 1.

sched_start_date

string

Start datetime formatted as yyyy-mm-dd.

month

integer

end_dow

integer

End day of week sun = 1, mon = 2, etc.

sched_active_days

integer

Min: 1.

end_mday

integer

start_mday

integer

end_time

string

type

string

start_time

string

end_datetime

string

PUT /client/{client_id}/interval/{interval_id}

Update interval

Path parameters

Name

Type

Description

client_id

string

Required.

interval_id

integer

Required.

JSON parameters

Name

Type

Description

timezone

string

Required. Interval timezone.

conditions

array [condition]

Required. Datetime conditions.

name

string

Required. Interval name.

Resource condition

Name

Type

Description

start_datetime

string

Start datetime formatted as yyyy-mm-dd hh:mm:ss. if start_datetime and end_datetime passed, other condition parameters will be ignored.

start_dow

integer

Start day of week sun = 1, mon = 2, etc. Min: 1. Max: 7.

sched_skip_days

integer

Min: 1.

sched_start_date

string

Start datetime formatted as yyyy-mm-dd.

month

integer

Month. Min: 1. Max: 12.

end_dow

integer

End day of week sun = 1, mon = 2, etc. Min: 1. Max: 7.

sched_active_days

integer

Min: 1.

end_mday

integer

End month day. Min: 1. Max: 31.

start_mday

integer

Start month day. Min: 1. Max: 31.

end_time

string

End time of day.

start_time

string

Start time of day.

end_datetime

string

End datetime formatted as yyyy-mm-dd hh:mm:ss. if start_datetime and end_datetime passed, other condition parameters will be ignored.

Resource fields

Name

Type

Description

dealer_id

integer

name

string

extension_id

integer

client_id

integer

timezone

string

conditions

array [interval_condition]

id

integer

Resource id.

Resource interval_condition

Name

Type

Description

start_datetime

string

start_dow

integer

Start day of week sun = 1, mon = 2, etc.

sched_skip_days

integer

Min: 1.

sched_start_date

string

Start datetime formatted as yyyy-mm-dd.

month

integer

end_dow

integer

End day of week sun = 1, mon = 2, etc.

sched_active_days

integer

Min: 1.

end_mday

integer

start_mday

integer

end_time

string

type

string

start_time

string

end_datetime

string

GET /client/{client_id}/interval/{interval_id}

Get interval

Path parameters

Name

Type

Description

client_id

string

Required.

interval_id

integer

Required.

Resource fields

Name

Type

Description

dealer_id

integer

name

string

extension_id

integer

client_id

integer

timezone

string

conditions

array [interval_condition]

id

integer

Resource id.

Resource interval_condition

Name

Type

Description

start_datetime

string

start_dow

integer

Start day of week sun = 1, mon = 2, etc.

sched_skip_days

integer

Min: 1.

sched_start_date

string

Start datetime formatted as yyyy-mm-dd.

month

integer

end_dow

integer

End day of week sun = 1, mon = 2, etc.

sched_active_days

integer

Min: 1.

end_mday

integer

start_mday

integer

end_time

string

type

string

start_time

string

end_datetime

string

DELETE /client/{client_id}/interval/{interval_id}

Delete interval

Path parameters

Name

Type

Description

client_id

string

Required.

interval_id

integer

Required.

GET /client/{client_id}/limit/

Get client limits

Path parameters

Name

Type

Description

client_id

string

Required.

Resource fields

Name

Type

Description

disk_quota

integer

Default: 0

ivr_option_limit

integer

dial_rule_limit

integer

user_extension_group_limit

integer

extension_agent_limit

integer

ivr_rule_limit

integer

sound_limit

integer

application_limit

integer

user_client_limit

integer

extension_group_limit

integer

user_extension_limit

integer

calls_limit

integer

network_permission_limit

integer

remote_agent_limit

integer

interval_limit

integer

event_limit

integer

extension_limit

integer

incom_rule_limit

integer

ivr_context_limit

integer

reg_limit

integer

Default: 0

POST /client/{client_id}/network_permission/

Add network permission group

Path parameters

Name

Type

Description

client_id

string

Required.

JSON parameters

Name

Type

Description

network_address

array [string]

Network_address/mask list.

name

string

Required.

Resource fields

Name

Type

Description

network_count

integer

Network permission count. Default: 0

network_address

array [string]

Network addresses list.

id

integer

Network permission id.

client_id

integer

Client id.

name

string

Network permission name.

GET /client/{client_id}/network_permission/

Get network permission group list

Path parameters

Name

Type

Description

client_id

string

Required.

Resource fields

Name

Type

Description

network_count

integer

Network permission count. Default: 0

network_address

array [string]

Network addresses list.

id

integer

Network permission id.

client_id

integer

Client id.

name

string

Network permission name.

PUT /client/{client_id}/network_permission/{group_id}

Update network permission group

Path parameters

Name

Type

Description

group_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

network_address

array [string]

Network_address/mask list.

name

string

Resource fields

Name

Type

Description

network_count

integer

Network permission count. Default: 0

network_address

array [string]

Network addresses list.

id

integer

Network permission id.

client_id

integer

Client id.

name

string

Network permission name.

GET /client/{client_id}/network_permission/{group_id}

Get network permission group

Path parameters

Name

Type

Description

group_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

network_count

integer

Network permission count. Default: 0

network_address

array [string]

Network addresses list.

id

integer

Network permission id.

client_id

integer

Client id.

name

string

Network permission name.

DELETE /client/{client_id}/network_permission/{group_id}

Delete network permission group

Path parameters

Name

Type

Description

group_id

integer

Required.

client_id

string

Required.

GET /client/{client_id}/record/

Get record list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required. Start datetime.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

end_datetime

string

Required. End datetime.

per_page

integer

page

integer

Default: 1

Resource fields

Name

Type

Description

to_username

string

source_number

string

result

string

duration

integer

hangup_time_gmt

string

to_domain

string

record_file_size

integer

calls_result

string

from_username

string

calls_hangup_disposition

string

ani_number

string

application

string

start_time_gmt

string

ext_number_reg

string

hangup_cause

string

hangup_disposition

string

extension_group_owner_id

integer

init_time_gmt

string

source_domain

string

dest_domain

string

record_uuid

string

from_domain

string

call_uuid

string

extension_type

string

did_domain

string

from_screen_name

string

extension_name

string

flow

string

dest_number

string

extension_id

integer

did_number

string

client_owner_id

integer

DELETE /client/{client_id}/record/

Delete records in interval

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required. Start datetime.

end_datetime

string

Required. End datetime.

POST /client/{client_id}/record/archive/

Get record archive

Path parameters

Name

Type

Description

client_id

string

Required.

JSON parameters

Name

Type

Description

start_datetime

string

Required. Start datetime.

extension_id

array [integer]

email

string

Required.

end_datetime

string

Required. End datetime.

Resource fields

Name

Type

Description

start_datetime

string

extension_id

array [integer]

archive_uuid

string

email

string

end_datetime

string

GET /client/{client_id}/record/stats/

Get record statistics list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required. Start datetime.

end_datetime

string

Required. End datetime.

Resource fields

Name

Type

Description

files_size

integer

records_count

integer

GET /client/{client_id}/record/{record_uuid}

Get record

Path parameters

Name

Type

Description

record_uuid

string

Required.

client_id

string

Required.

DELETE /client/{client_id}/record/{record_uuid}

Delete record

Path parameters

Name

Type

Description

record_uuid

string

Required.

client_id

string

Required.

GET /client/{client_id}/record/{record_uuid}/download/

Get record with basic http authentication

Path parameters

Name

Type

Description

record_uuid

string

Required.

client_id

string

Required.

GET /client/{client_id}/record/{record_uuid}/path/

Get ftp record path

Path parameters

Name

Type

Description

record_uuid

string

Required.

client_id

string

Required.

GET /client/{client_id}/record/{record_uuid}/storage_url/

Get record storage url

Path parameters

Name

Type

Description

record_uuid

string

Required.

client_id

string

Required.

GET /client/{client_id}/reg_status_log/

Get logs for change registrations of all client extensions

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required. Start datetime.

end_datetime

string

Required. End datetime.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

Resource fields

Name

Type

Description

status

string

date_gmt

string

short_ext_name

string

POST /client/{client_id}/sound/

Add sound

Path parameters

Name

Type

Description

client_id

string

Required.

Form parameters

Name

Type

Description

file

file

Required.

title

string

Required. Sound title.

Resource fields

Name

Type

Description

title

string

Sound title.

dealer_id

integer

id

integer

Resource id.

client_id

integer

filename

string

GET /client/{client_id}/sound/

Get sound list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

title

array [string]

own_only

boolean

id

array [integer]

per_page

integer

page

integer

Default: 1

Resource fields

Name

Type

Description

title

string

dealer_id

integer

id

integer

Resource id.

client_id

integer

filename

string

GET /client/{client_id}/sound/search/

Client sounds search

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

title

array [string]

own_only

boolean

q

string

id

array [integer]

per_page

integer

page

integer

Default: 1

Resource fields

Name

Type

Description

total_count

integer

PUT /client/{client_id}/sound/{sound_id}

Update sound

Path parameters

Name

Type

Description

client_id

string

Required.

sound_id

integer

Required.

JSON parameters

Name

Type

Description

title

string

Sound title.

Resource fields

Name

Type

Description

title

string

dealer_id

integer

id

integer

Resource id.

client_id

integer

filename

string

POST /client/{client_id}/sound/{sound_id}

Update sound file

Path parameters

Name

Type

Description

client_id

string

Required.

sound_id

integer

Required.

Form parameters

Name

Type

Description

title

string

Sound title.

file

file

Required.

Resource fields

Name

Type

Description

title

string

Sound title.

dealer_id

integer

id

integer

Resource id.

client_id

integer

filename

string

GET /client/{client_id}/sound/{sound_id}

Get sound

Path parameters

Name

Type

Description

client_id

string

Required.

sound_id

integer

Required.

Resource fields

Name

Type

Description

title

string

dealer_id

integer

id

integer

Resource id.

client_id

integer

filename

string

DELETE /client/{client_id}/sound/{sound_id}

Delete sound

Path parameters

Name

Type

Description

client_id

string

Required.

sound_id

integer

Required.

GET /client/{client_id}/sound/{sound_id}/download/

Get sound file

Path parameters

Name

Type

Description

client_id

string

Required.

sound_id

integer

Required.

POST /client/{client_id}/task_scheduler/

Add task scheduler

Path parameters

Name

Type

Description

client_id

string

Required.

JSON parameters

Name

Type

Description

comment

string

status

string

One of 'on', 'off'. Default: off

concurrent_task_limit

integer

name

string

Required.

Resource fields

Name

Type

Description

comment

string

status

string

One of 'off', 'on'. Default: off

name

string

concurrent_task_limit

integer

create_date_utc

string

id

integer

Resource id.

PUT /client/{client_id}/task_scheduler/{scheduler_id}

Update scheduler

Path parameters

Name

Type

Description

scheduler_id

string

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

comment

string

status

string

One of 'on', 'off'. Default: off

concurrent_task_limit

integer

Resource fields

Name

Type

Description

comment

string

status

string

One of 'off', 'on'. Default: off

name

string

concurrent_task_limit

integer

create_date_utc

string

id

integer

Resource id.

GET /client/{client_id}/task_scheduler/{scheduler_id}

Get task scheduler by id for

Path parameters

Name

Type

Description

scheduler_id

string

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

comment

string

status

string

One of 'off', 'on'. Default: off

name

string

concurrent_task_limit

integer

create_date_utc

string

id

integer

Resource id.

GET /client/{client_id}/task_scheduler/{scheduler_id}/task/{task_id}

Get client

Path parameters

Name

Type

Description

client_id

string

Required.

scheduler_id

string

Required.

task_id

integer

Required.

Resource fields

Name

Type

Description

status

string

One of 'scheduled', 'executed', 'delayed', 'finished'. Default: scheduled

try_again_pause

integer

url_success

string

b_number

string

scheduler_id

integer

start_time_utc

string

url_before

string

finish_result

string

One of 'success', 'failed'.

a_number

string

url_before_again

string

extension_id

integer

cdr

string

url_after

string

finish_comment

string

try_count

integer

Default: 1

create_date_utc

string

id

integer

Resource id.

name

string

POST /client/{client_id}/task_scheduler/{scheduler_id}/tasks/

Add list of tasks

Path parameters

Name

Type

Description

scheduler_id

string

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

tasks

array [task_args]

Required.

Resource task_args

Name

Type

Description

try_again_pause

integer

url_success

string

name

string

start_time_utc

string

url_before

string

a_number

string

url_before_again

string

extension_id

integer

b_number

string

url_after

string

try_count

integer

Default: 1

Resource fields

Name

Type

Description

tasks

array [task_res]

Resource task_res

Name

Type

Description

status

string

One of 'scheduled', 'executed', 'delayed', 'finished'. Default: scheduled

try_again_pause

integer

url_success

string

b_number

string

scheduler_id

integer

start_time_utc

string

url_before

string

finish_result

string

One of 'success', 'failed'.

a_number

string

url_before_again

string

extension_id

integer

cdr

string

url_after

string

finish_comment

string

try_count

integer

Default: 1

create_date_utc

string

id

integer

Resource id.

name

string

POST /client/{client_id}/user/client/

Add new user client

Path parameters

Name

Type

Description

client_id

string

Required.

JSON parameters

Name

Type

Description

comment

string

User email.

status

string

User status. One of 'active', 'blocked'.

name

string

Required. User name.

email_notify

boolean

Send email with access data for new user. Default: False

access

string

User access type. One of 'full', 'read_only'.

extra_params

string

User extra params.

timezone

string

User timezone.

login

string

Required. User login.

password

string

Required. User password.

email_for_notify

string

User email.

email

string

Required. User email.

Resource fields

...

Name

...

Type

...

Description

...

comment

...

string

...

status

...

string

...

name

...

string

...

email

...

string

...

access

...

string

...

client_id

...

integer

...

extra_params

...

string

...

timezone

...

string

...

login

...

string

...

id

...

integer

...

Query parameters

Name

Type

Description

start_datetime

string

Required. Start datetime.

end_datetime

string

Required. End datetime.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

event_name

array [string]

Event type.

...

GET /client/{client_id}/call_history/

Get call history list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required.

end_datetime

string

Required.

start_duration

integer

end_duration

integer

start_bridged_duration

integer

end_bridged_duration

integer

extension_id

array [integer]

flow

array [string]

One of 'in', 'out'.

bridged_username

array [string]

to_username

array [string]

from_username

array [string]

did_number

array [string]

page

integer

Result page. Default: 1

per_page

integer

Items per page. Default: 100000

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

Resource fields

Name

Type

Description

per_page

integer

Items per page.

call_history

array [call_history]

Default: []

order

string

Datetime sorting order.

page

integer

Result page.

Resource call_history

Name

Type

Description

flow

string

ivr_history

string

result

string

cdr

array [cdr_response]

duration

integer

hangup_time_gmt

string

bridged_domain

string

to_domain

string

from_username

string

start_time_gmt

string

to_username

string

ext_number_reg

string

hangup_cause

string

diversion_number

string

extension_group_owner_id

integer

init_time_gmt

string

from_domain

string

call_uuid

string

extension_type

string

did_domain

string

from_screen_name

string

bridged_duration

integer

bridged_time_gmt

string

extension_name

string

bridged_username

string

hangup_disposition

string

extension_id

integer

did_number

string

client_owner_id

integer

...

GET /client/{client_id}/

...

Get user client list

...

call_history/{call_uuid}

Get call history item

Path parameters

Name

Type

Description

client_id

string

Required.

call_uuid

string

Required.

Query parameters

Name

Type

Description

clientcall_idmonth

string

Required.

...

Resource fields

login

Name

Type

Description

flow

string

ivr_history

string

result

string

cdr

array [stringcdr_response]

idduration

array [integer]

Resource fields

Name

Type

Description

comment

string

status

string

name

string

email

string

access

string

client_id

integer

extra_params

string

timezone

string

login

string

id

integer

Resource id.

PUT /client/{client_id}/user/client/{user_id}

Update user client

Path parameters

Name

Type

Description

user_id

integer

Required.

client_id

string

Required.

JSON parameters

Name

Type

Description

comment

string

User email.

status

string

User status. One of 'active', 'blocked'.

name

string

User name.

access

string

User access type. One of 'full', 'read_only'.

extra_params

string

User extra params.

timezone

string

User timezone.

password

string

User password.

email

string

User email.

Resource fields

Name

Type

Description

comment

string

status

string

name

string

email

string

access

string

client_id

integer

extra_params

string

timezone

string

login

string

id

integer

Resource id.

GET /client/{client_id}/user/client/{user_id}

Get user client

Path parameters

Name

Type

Description

user_id

integer

Required.

client_id

string

Required.

Resource fields

Name

Type

Description

comment

string

status

string

name

string

email

string

access

string

client_id

integer

extra_params

string

timezone

string

login

string

id

integer

Resource id.

DELETE /client/{client_id}/user/client/{user_id}

Delete user client

Path parameters

Name

Type

Description

user_id

integer

Required.

client_id

string

Required.

...

integer

hangup_time_gmt

string

bridged_domain

string

to_domain

string

from_username

string

start_time_gmt

string

to_username

string

ext_number_reg

string

hangup_cause

string

diversion_number

string

extension_group_owner_id

integer

init_time_gmt

string

from_domain

string

call_uuid

string

extension_type

string

did_domain

string

from_screen_name

string

bridged_duration

integer

bridged_time_gmt

string

extension_name

string

bridged_username

string

hangup_disposition

string

extension_id

integer

did_number

string

client_owner_id

integer

Resource cdr_response

Name

Type

Description

to_username

string

source_number

string

result

string

duration

integer

subcall_uuid

string

hangup_time_gmt

string

to_domain

string

record_file_size

integer

calls_result

string

from_username

string

calls_hangup_disposition

string

ani_number

string

application

string

start_time_gmt

string

ext_number_reg

string

hangup_cause

string

hangup_disposition

string

extension_group_owner_id

integer

init_time_gmt

string

source_domain

string

dest_domain

string

record_uuid

string

from_domain

string

call_uuid

string

extension_type

string

transfer_reason

string

bundle_info

string

remote_call_sign

string

did_domain

string

from_screen_name

string

extension_name

string

flow

string

dest_number

string

extension_id

integer

did_number

string

client_owner_id

integer

...

GET /client/{client_id}/

...

calls/

...

Get call list

Path parameters

Name

Type

Description

client_id

string

Required.

...

Query parameters

Name

Type

Description

commentstart_datetime

string

User emailRequired.

statusend_datetime

string

User status. One of 'active', 'blocked'.

name

string

Required. User name.

email_notify

boolean

Send email with access data for new user. Default: False

access

string

User access type. One of 'full', 'read_only'.

extension_id

integer

Required. User extension id.

extra_params

string

User extra params.

timezone

string

User timezone.

login

string

Required. User login.

password

string

Required. User password.

email_for_notify

string

User email.

email

string

Required. User email. Required.

start_duration

integer

end_duration

integer

start_bridged_duration

integer

end_bridged_duration

integer

extension_id

array [integer]

flow

array [string]

One of 'in', 'out'.

bridged_username

array [string]

to_username

array [string]

from_username

array [string]

did_number

array [string]

page

integer

Result page. Default: 1

per_page

integer

Items per page. Default: 100000

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

Resource fields

comment

Name

Type

Description

per_page

integer

Items per page.

Name

Type

Description

comment

string

status

string

name

string

email

string

order

string

status

string

name

string

email

string

access

string

extension_id

integer

extra_params

string

timezone

string

login

string

id

integer

Resource id.

GET /client/{client_id}/user/extension/

Get user extension list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

comment

array [string]

status

array [string]

name

array [string]

id

array [integer]

access

array [string]

extension_id

array [integer]

timezone

array [string]

login

array [string]

email

array [string]

Resource fields

accessDatetime sorting order.

calls

array [calls]

page

integer

Result page.

Resource calls

Name

Type

Description

flow

string

ivr_history

string

result

string

duration

integer

hangup_time_gmt

string

bridged_domain

string

to_domain

string

from_username

string

start_time_gmt

string

to_username

string

ext_number_reg

string

hangup_cause

string

hangup_disposition

string

extension_group_owner_id

integer

init_time_gmt

string

from_domain

string

call_uuid

string

extension_type

string

did_domain

string

from_screen_name

string

bridged_duration

integer

bridged_time_gmt

string

extension_name

string

bridged_username

string

diversion_number

string

extension_id

integer

extradid_paramsnumber

string

timezone

string

login

string

client_owner_id

integer

Resource id.

...

GET /client/{client_id}/

...

calls/

...

stats/

...

Update user extension

Path parameters

Name

Type

Description

user_id

integer

Required.

client_id

string

Required.

...

Get calls statistics

Path parameters

name

Name

Type

Description

comment

string

User email.

status

string

User status. One of 'active', 'blocked'.

client_id

string

User name.

accessRequired.

Query parameters

Name

Type

Description

start_datetime

string

User access type. One of 'full', 'read_only'Required.

end_datetime

string

Required.

extension_id

array [integer

User extension id.

extra_params

string

User extra params.

timezone

string

User timezone.

password

string

User password.

email

string

User email.

Resource fields

]

...

GET /client/{client_id}/cdr/

Get call list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

commentstart_datetime

stringstatus

Required.

end_datetime

string

name

string

email

string

access

stringRequired.

start_duration

integer

end_duration

integer

extension_id

array [integer

extra_params

string

timezone

string

login

string

id

integer

Resource id.

GET /client/{client_id}/user/extension/{user_id}

Get user extension

...

]

flow

array [string]

One of 'in', 'out', 'transfer'.

to_username

array [string]

from_username

array [string]

extension_type

array [string]

page

integer

Result page. Default: 1

per_page

integer

Items per page. Default: 100000

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

Resource fields

Name

Type

Description

userper_idpage

integer

Required.

client_id

string

Required.

...

Items per page.

order

string

Datetime sorting order.

cdr

array [cdr_response]

page

integer

Result page.

Resource cdr_response

comment

Name

Type

Description

to_username

string

source_number

string

statusresult

stringname

duration

integer

subcall_uuid

stringemail

hangup_time_gmt

stringaccess

to_domain

string

extensionrecord_file_idsize

integer

extracalls_paramsresult

stringtimezone

from_username

stringlogin

calls_hangup_disposition

string

id

integer

Resource id.

DELETE /client/{client_id}/user/extension/{user_id}

Delete user extension

Path parameters

Name

Type

Description

user_id

integer

Required.

client_id

string

Required.

POST /client/{client_id}/user/extension_group/

Add new user extension group

Path parameters

Name

Type

Description

client_id

string

Required.

JSON parameters

Name

Type

Description

comment

string

User email.

status

string

User status. One of 'active', 'blocked'.

name

string

Required. User name.

email_notify

boolean

Send email with access data for new user. Default: False

extra_params

string

User extra params.

access

string

User access type. One of 'full', 'read_only'.

extension_group_id

integer

Required. User extension id.

timezone

string

User timezone.

login

string

Required. User login.

password

string

Required. User password.

email_for_notify

string

User email.

email

string

Required. User email. ani_number

string

application

string

start_time_gmt

string

ext_number_reg

string

hangup_cause

string

hangup_disposition

string

extension_group_owner_id

integer

init_time_gmt

string

source_domain

string

dest_domain

string

record_uuid

string

from_domain

string

call_uuid

string

extension_type

string

transfer_reason

string

bundle_info

string

remote_call_sign

string

did_domain

string

from_screen_name

string

extension_name

string

flow

string

dest_number

string

extension_id

integer

did_number

string

client_owner_id

integer

...

GET /client/{client_id}/cdr/stats/

Get calls statistics

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required.

end_datetime

string

Required.

extension_id

array [integer]

...

GET /client/{client_id}/disk_space/

Get client available free disk space

Path parameters

Name

Type

Description

client_id

string

Required.

Resource fields

Name

Type

Description

commenttotal_space

stringintegerstatus

fax_size

stringintegername

voicemail_count

stringinteger

extensionfree_group_idspace

integeremail

fax_count

string

access

string

extra_params

string

timezone

string

login

string

id

integer

Resource id. integer

call_records_size

integer

voicemail_size

integer

call_records_count

integer

...

GET /client/{client_id}/

...

disk_space/stats/

Get user extension group list

Path parameters

Name

Type

Description

client_id

string

Required.

...

client available free disk space

Path parameters

Name

Type

Description

comment

array [string]

status

array [string]

name

array [string]

id

array [integer]

access

array [string]

extension_group_id

array [integer]

timezone

array [string]

login

array [string]

email

array [string]

Resource fields

client_id

string

Required.

Query parameters

Name

Type

Description

commentstart_datetime

string

status

string

name

string

extension_group_id

integer

email

string

access

string

extra_params

string

timezone

string

login

string

id

integer

Resource id.

PUT /client/{client_id}/user/extension_group/{user_id}

...

Start datetime.

end_datetime

string

End datetime.

Resource fields

Name

Type

Description

fax_size

integer

voicemail_count

integer

fax_count

integer

call_records_size

integer

voicemail_size

integer

call_records_count

integer

...

GET /client/{client_id}/extension/call_status/stats/history/

Get extension call status history

Path parameters

Name

Type

Description

userclient_idinteger

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required.

clientend_iddatetime

string

Required.

JSON parameters

Name

Type

Description

comment

string

User email.

status

string

User statusextension_id

array [integer]

page

integer

Result page. Default: 1

per_page

integer

Items per page. Default: 100000

order

string

Datetime sorting order. One of 'activedesc', 'blockedasc'. name Default: desc

Resource fields

Name

Type

Description

action

string

duration

User name. integer

extension_group_id

integer

User extension id.

access

string

User access type. One of 'full', 'read_only'.

extra_params

string

User extra params.

timezone

string

User timezone.

password

string

User password.

email

string

User email.

...

change_dt

string

status_id

integer

...

GET /client/{client_id}/fax/in/

Get incoming fax messages list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

commentuuid

array [string]

status

string

name

stringFax uuid.

extension_id

integer

Extension id.

extension_group_id

integeremail

Extension group id.

start_datetime

string

access

string

extra_paramsStart datetime.

end_datetime

stringtimezone

End datetime.

stringdestination

login

array [string

id

integer

Resource id.

GET /client/{client_id}/user/extension_group/{user_id}

Get user extension group

Path parameters

Name

Type

Description

user_id

integer

Required.

client_id

string

Required. ]

Destination number.

caller_id

array [string]

Caller id number.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

Resource fields

Name

Type

Description

commentuuid

string

Fax uuid.

statusdestination

string

name

string

extension_groupDestination number.

caller_id

integer

email

string

access

string

extra_paramsCaller id.

datetime

string

timezone

string

login

string

Record datetime.

file_size

integer

Fax file size.

extension_id

integer

Resource Extension id.

...

client

...

_id

...

Name

Type

Description

user_id

integer

Required.

Delete user extension group

Path parameters

clientinteger

Client id.

extension_group_id

stringinteger

RequiredExtension group id.

...

GET /client/{client_id}/fax/

...

out/

Post Get client variablesfax messages list

Path parameters

Name

Type

Description

client_id

string

Required.

...

Query parameters

Name

Type

Description

variables

array [client_vars]

Required.

...

extension_id

integer

start_datetime

string

Start datetime.

end_datetime

string

End datetime.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

Resource fields

value

Name

Type

Description

var

string

id

integer

Resource id.

status

string

dst_num

string

extension_id

integer

datetime

string

...

GET /client/{client_id}/

...

reg_status_log/

Get client variableslogs for change registrations of all client extensions

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required. Start datetime.

end_datetime

string

Required. End datetime.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

Resource fields

variable

Name

Type

Description

status

string

date_gmt

string

short_ext_name

string

...

GET /client/{client_id}/voicemail/

Get voice mail messages list

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required. Start datetime.

end_datetime

string

Required. End datetime.

extension_group_id

integer

Extension id.

order

string

Datetime sorting order. One of 'desc', 'asc'. Default: desc

extension_id

integer

Extension id.

extension_group_id

integer

Extension id.

Resource fields

Name

Type

Description

to_username

string

source_number

string

result

string

duration

integer

subcall_uuid

string

hangup_time_gmt

string

to_domain

string

record_file_size

integer

calls_result

string

from_username

string

calls_hangup_disposition

string

ani_number

string

application

string

start_time_gmt

string

ext_number_reg

string

hangup_cause

string

hangup_disposition

string

extension_group_owner_id

integer

init_time_gmt

string

source_domain

string

dest_domain

string

record_uuid

string

from_domain

string

call_uuid

string

extension_type

string

did_domain

string

from_screen_name

string

extension_name

string

flow_gmt

string

destext_number_reg

string

extensionhangup_idcause

integer

Extension id.

did_numberstring

hangup_disposition

string

clientextension_group_owner_id

integer

DELETE /client/{client_id}/voicemail/

Delete voice mail messages in interval

Path parameters

Name

Type

Description

client_id

string

Required.

Query parameters

Name

Type

Description

start_datetime

string

Required. Start datetime.

end_datetime

string

Required. End datetime.

GET /client/{client_id}/voicemail/{record_uuid}

Get voicemail message file

Path parameters

Name

Type

Description

record_uuid

string

Required.

client_id

string

Required.

DELETE /client/{client_id}/voicemail/{record_uuid}

Delete voice message

Path parameters

Name

Type

Description

record_uuid

string

Required.

client_id

string

Required. init_time_gmt

string

source_domain

string

dest_domain

string

record_uuid

string

from_domain

string

call_uuid

string

extension_type

string

transfer_reason

string

bundle_info

string

remote_call_sign

string

did_domain

string

from_screen_name

string

extension_name

string

flow

string

dest_number

string

extension_id

integer

Extension id.

did_number

string

client_owner_id

integer

...