Table of Contents | ||
---|---|---|
|
...
GET /client/{client_
...
id}/agent/local/{
...
agent_id}/events/
Update clientGet queue events
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
Query parameters
Name | Type | Description | |
---|---|---|---|
|
| Music on hold sound id | Required. Start datetime. |
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
|
Resource fields
|
| Required. End datetime. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
|
| Event type. |
...
GET /client/{client_id}/agent/remote/{agent_id}/events/
Get queue events
Path parameters
Name | Type | Description | |
---|---|---|---|
|
| ||
|
| ||
|
| ||
|
| ||
sip_network_permission_Required. | |||
|
| Required. |
|
|
| Default: False | |
|
| ||
|
| Resource id. | |
|
| ||
|
| ||
|
| Default: Europe/Moscow | |
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| Default: mp3 | |
|
| ||
|
| ||
|
|
GET /client/client_info/{client_id}/
Get client
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| Default: Europe/Moscow |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: mp3 |
|
| |
|
| |
|
|
POST /client/{client_id}/agent/local/
Add new agent
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Agent status. One of 'available', 'logged_out'. Default: available |
|
| |
|
| Required. Agent name. |
|
| If the agent is on do not disturb, we wait this defined time before trying him again. Default: 10 |
|
| If the agent does not answer the call, we wait this defined time before trying him again. Default: 10 |
|
| Agent call timeout. |
|
| Allow an agent to have a delay when finishing a call before receiving another one. Default: 0 |
|
| Required. Agent extension id. |
|
| If the agent press the reject on their phone, we wait this defined time amount. Default: 10 |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/agent/local/
Get agents list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /client/{client_id}/agent/local/{agent_id
}
Update agent
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Agent status. One of 'available', 'logged_out'. |
|
| |
|
| Agent name. |
|
| If the agent is on do not disturb, we wait this defined time before trying him again. |
|
| If the agent does not answer the call, we wait this defined time before trying him again. |
|
| Agent call timeout. |
|
| Allow an agent to have a delay when finishing a call before receiving another one. |
|
| If the agent press the reject on their phone, we wait this defined time amount. |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/agent/local/{agent_id
}
Get agent by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
DELETE /client/{client_id}/agent/local/{agent_id
}
Delete agent
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: True |
POST /client/{client_id}/agent/local/{agent_id}/event/
Add agent http event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. Request url. |
|
| Required. Call event type. One of 'agent-login', 'agent-logout'. |
|
| Required. Http request method. One of 'GET', 'POST'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/agent/local/{agent_id}/event/
Get agent http events
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /client/{client_id}/agent/local/{agent_id}/event/{event_id
}
Update agent http event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Request url. |
|
| Call event type. One of 'agent-login', 'agent-logout'. |
|
| Http request method. One of 'GET', 'POST'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/agent/local/{agent_id}/event/{event_id
}
Get agent http event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
DELETE /client/{client_id}/agent/local/{agent_id}/event/{event_id
}
Delete agent http event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| Required. |
GET /client/{client_id}/agent/local/{agent_id}/events/
Get queue events
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. Start datetime. |
|
| Event type. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
|
| Required. End datetime. |
POST /client/{client_id}/agent/remote/
Add new agent
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Agent status. One of 'available', 'logged_out'. Default: available |
|
| |
|
| Required. Agent name. |
|
| If the agent is on do not disturb, we wait this defined time before trying him again. Default: 10 |
|
| If the agent does not answer the call, we wait this defined time before trying him again. Default: 10 |
|
| Agent call timeout. |
|
| Required. Agent number. |
|
| Allow an agent to have a delay when finishing a call before receiving another one. Default: 0 |
|
| If the agent press the reject on their phone, we wait this defined time amount. Default: 10 |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/agent/remote/
Get agents list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /client/{client_id}/agent/remote/{agent_id
}
Update agent
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Agent status. One of 'available', 'logged_out'. |
|
| |
|
| Agent name. |
|
| If the agent is on do not disturb, we wait this defined time before trying him again. |
|
| If the agent does not answer the call, we wait this defined time before trying him again. |
|
| Agent call timeout. |
|
| Agent number. |
|
| Allow an agent to have a delay when finishing a call before receiving another one. |
|
| If the agent press the reject on their phone, we wait this defined time amount. |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/agent/remote/{agent_id
}
Get agent by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
DELETE /client/{client_id}/agent/remote/{agent_id
}
Delete agent
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: True |
POST /client/{client_id}/agent/remote/{agent_id}/event/
Add agent http event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. Request url. |
|
| Required. Call event type. One of 'agent-login', 'agent-logout'. |
|
| Required. Http request method. One of 'GET', 'POST'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/agent/remote/{agent_id}/event/
Get agent http events
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /client/{client_id}/agent/remote/{agent_id}/event/{event_id
}
Update agent http event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Request url. |
|
| Call event type. One of 'agent-login', 'agent-logout'. |
|
| Http request method. One of 'GET', 'POST'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/agent/remote/{agent_id}/event/{event_id
}
Get agent http event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
DELETE /client/{client_id}/agent/remote/{agent_id}/event/{event_id
}
Delete agent http event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| Required. |
GET /client/{client_id}/agent/remote/{agent_id}/events/
Get queue events
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. Start datetime. |
|
| Event type. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
|
| Required. End datetime. |
GET /client/{client_id}/alias/
Get alias list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Default: 1 |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /client/{client_id}/alias/{alias_id
}
Update alias
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/alias/{alias_id
}
Get alias
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /client/{client_id}/ani/
Update client ani
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. Client ani. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
GET /client/{client_id}/ani/
Get client ani
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
GET /client/{client_id}/call_history/
Get call history list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| |
|
| One of 'in', 'out'. |
|
| |
|
| |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
|
| Required. |
|
| |
|
| Items per page. Default: 100000 |
|
| |
|
| |
|
| |
|
| |
|
| Result page. Default: 1 |
Resource fields
Name | Type | Description |
---|---|---|
|
| Items per page. |
|
| Default: [] |
|
| Datetime sorting order. |
|
| Result page. |
Resource call_history
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /client/{client_id}/call_history/{call_uuid
}
Get call history item
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource cdr_response
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /client/{client_id}/calls/
Get call list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| |
|
| One of 'in', 'out'. |
|
| |
|
| |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
|
| Required. |
|
| |
|
| Items per page. Default: 100000 |
|
| |
|
| |
|
| |
|
| |
|
| Result page. Default: 1 |
Resource fields
Name | Type | Description |
---|---|---|
|
| Items per page. |
|
| Datetime sorting order. |
|
| |
|
| Result page. |
Resource calls
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /client/{client_id}/calls/stats/
Get calls statistics
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
|
GET /client/{client_id}/cdr/
Get call list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| |
|
| One of 'in', 'out', 'transfer'. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
|
| |
|
| Required. |
|
| |
|
| Items per page. Default: 100000 |
|
| |
|
| |
|
| Result page. Default: 1 |
Resource fields
Name | Type | Description |
---|---|---|
|
| Items per page. |
|
| Datetime sorting order. |
|
| |
|
| Result page. |
Resource cdr_response
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /client/{client_id}/cdr/stats/
Get calls statistics
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
|
PUT /client/{client_id}/client/
Update client
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Music on hold sound id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| Default: Europe/Moscow |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: mp3 |
|
| |
|
| |
|
|
GET /client/{client_id}/client/
Get client
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| Default: Europe/Moscow |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: mp3 |
|
| |
|
| |
|
|
GET /client/{client_id}/current_calls/
Get active calls for extension type phone
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
Resource call_mdl
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
POST /client/{client_id}/dial_rule/
Add client dial rule list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource dial_rule
Name | Type | Description |
---|---|---|
|
| |
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
Resource dial_rule
Name | Type | Description |
---|---|---|
|
| |
|
| Required. |
|
| Required. |
GET /client/{client_id}/dial_rule/
Get client dial rule lists list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
Resource dial_rule
Name | Type | Description |
---|---|---|
|
| |
|
| Required. |
|
| Required. |
PUT /client/{client_id}/dial_rule/{dial_rules_id
}
Update client dial rule list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource dial_rule
Name | Type | Description |
---|---|---|
|
| |
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
Resource dial_rule
Name | Type | Description |
---|---|---|
|
| |
|
| Required. |
|
| Required. |
GET /client/{client_id}/dial_rule/{dial_rules_id
}
Get client dial rule list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
Resource dial_rule
Name | Type | Description |
---|---|---|
|
| |
|
| Required. |
|
| Required. |
DELETE /client/{client_id}/dial_rule/{dial_rules_id
}
Delete client dial rule list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /client/{client_id}/did/
Get did list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Default: 1 |
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
PUT /client/{client_id}/did/{did_id
}
Update did
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
GET /client/{client_id}/did/{did_id
}
Get did
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
GET /client/{client_id}/disk_space/
Get client available free disk space
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /client/{client_id}/disk_space/stats/
Get client available free disk space
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Start datetime. |
|
| End datetime. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
POST /client/{client_id}/extension/
Add extension
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| One of 'active', 'blocked'. Default: blocked |
|
| |
|
| Required. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Required. One of 'phone', 'queue', 'ivr', 'fax', 'conference'. |
|
| One of 'None', 'default', 'from', 'diversion'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
GET /client/{client_id}/extension/
Get extension list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 1 |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
PUT /client/{client_id}/extension/{extension_id
}
Update extension
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| One of 'active', 'blocked'. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'None', 'default', 'from', 'diversion'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
GET /client/{client_id}/extension/{extension_id
}
Get extension
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
DELETE /client/{client_id}/extension/{extension_id
}
Delete extension
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
POST /client/{client_id}/extension_group/
Add extension group
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
| |
|
|
GET /client/{client_id}/extension_group/
Get extension group list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
| |
|
|
PUT /client/{client_id}/extension_group/{ext_group_id
}
Update extension group
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
| |
|
|
GET /client/{client_id}/extension_group/{ext_group_id
}
Get extension group
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
| |
|
|
DELETE /client/{client_id}/extension_group/{ext_group_id
}
Delete extension group
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
POST /client/{client_id}/extensions_bundle/{extension_id
}
Add extension bundle
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
GET /client/{client_id}/extensions_bundle/{extension_id
}
Get extension bundle info
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
DELETE /client/{client_id}/extensions_bundle/{extension_id
}
Delete extension bundle info
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
GET /client/{client_id}/fax/in/
Get incoming fax messages list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Start datetime. |
|
| Fax uuid. |
|
| Destination number. |
|
| Caller id number. |
|
| End datetime. |
|
| Extension group id. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
|
| Extension id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Fax uuid. |
|
| Destination number. |
|
| Caller id. |
|
| Record datetime. |
|
| Fax file size. |
|
| Extension id. |
|
| Client id. |
|
| Extension group id. |
DELETE /client/{client_id}/fax/in/
Delete incoming fax messages in interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Start datetime. |
|
| End datetime. |
GET /client/{client_id}/fax/in/{fax_uuid
}
Get incoming fax message
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
DELETE /client/{client_id}/fax/in/{fax_uuid
}
Delete record
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /client/{client_id}/fax/out/
Get client fax messages list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Start datetime. |
|
| |
|
| End datetime. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description |
---|---|---|
|
| Resource id. |
|
| |
|
| |
|
| |
|
|
POST /client/{client_id}/interval/
Add interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. Interval timezone. |
|
| Required. Datetime conditions. |
|
| Required. Interval name. |
Resource condition
Name | Type | Description |
---|---|---|
|
| Start datetime formatted as yyyy-mm-dd hh:mm:ss. if start_datetime and end_datetime passed, other condition parameters will be ignored. |
|
| Start day of week sun = 1, mon = 2, etc. Min: 1. Max: 7. |
|
| Min: 1. |
|
| Start datetime formatted as yyyy-mm-dd. |
|
| Month. Min: 1. Max: 12. |
|
| End day of week sun = 1, mon = 2, etc. Min: 1. Max: 7. |
|
| Min: 1. |
|
| End month day. Min: 1. Max: 31. |
|
| Start month day. Min: 1. Max: 31. |
|
| End time of day. |
|
| Start time of day. |
|
| 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 |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
Resource interval_condition
Name | Type | Description |
---|---|---|
|
| |
|
| Start day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| Start datetime formatted as yyyy-mm-dd. |
|
| |
|
| End day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /client/{client_id}/interval/
Get interval list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
Resource interval_condition
Name | Type | Description |
---|---|---|
|
| |
|
| Start day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| Start datetime formatted as yyyy-mm-dd. |
|
| |
|
| End day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
PUT /client/{client_id}/interval/{interval_id
}
Update interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. Interval timezone. |
|
| Required. Datetime conditions. |
|
| Required. Interval name. |
Resource condition
Name | Type | Description |
---|---|---|
|
| Start datetime formatted as yyyy-mm-dd hh:mm:ss. if start_datetime and end_datetime passed, other condition parameters will be ignored. |
|
| Start day of week sun = 1, mon = 2, etc. Min: 1. Max: 7. |
|
| Min: 1. |
|
| Start datetime formatted as yyyy-mm-dd. |
|
| Month. Min: 1. Max: 12. |
|
| End day of week sun = 1, mon = 2, etc. Min: 1. Max: 7. |
|
| Min: 1. |
|
| End month day. Min: 1. Max: 31. |
|
| Start month day. Min: 1. Max: 31. |
|
| End time of day. |
|
| Start time of day. |
|
| 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 |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
Resource interval_condition
Name | Type | Description |
---|---|---|
|
| |
|
| Start day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| Start datetime formatted as yyyy-mm-dd. |
|
| |
|
| End day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /client/{client_id}/interval/{interval_id
}
Get interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
Resource interval_condition
Name | Type | Description |
---|---|---|
|
| |
|
| Start day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| Start datetime formatted as yyyy-mm-dd. |
|
| |
|
| End day of week sun = 1, mon = 2, etc. |
|
| Min: 1. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
DELETE /client/{client_id}/interval/{interval_id
}
Delete interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /client/{client_id}/limit/
Get client limits
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 0 |
POST /client/{client_id}/network_permission/
Add network permission group
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Network_address/mask list. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Network permission count. Default: 0 |
|
| Network addresses list. |
|
| Network permission id. |
|
| Client id. |
|
| Network permission name. |
GET /client/{client_id}/network_permission/
Get network permission group list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Network permission count. Default: 0 |
|
| Network addresses list. |
|
| Network permission id. |
|
| Client id. |
|
| Network permission name. |
PUT /client/{client_id}/network_permission/{group_id
}
Update network permission group
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Network_address/mask list. |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| Network permission count. Default: 0 |
|
| Network addresses list. |
|
| Network permission id. |
|
| Client id. |
|
| Network permission name. |
GET /client/{client_id}/network_permission/{group_id
}
Get network permission group
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Network permission count. Default: 0 |
|
| Network addresses list. |
|
| Network permission id. |
|
| Client id. |
|
| Network permission name. |
DELETE /client/{client_id}/network_permission/{group_id
}
Delete network permission group
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /client/{client_id}/record/
Get record list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. Start datetime. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
|
| Required. End datetime. |
|
| |
|
| Default: 1 |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
DELETE /client/{client_id}/record/
Delete records in interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. Start datetime. |
|
| Required. End datetime. |
POST /client/{client_id}/record/archive/
Get record archive
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. Start datetime. |
|
| |
|
| Required. |
|
| Required. End datetime. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
|
GET /client/{client_id}/record/stats/
Get record statistics list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. Start datetime. |
|
| Required. End datetime. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
GET /client/{client_id}/record/{record_uuid
}
Get record
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
DELETE /client/{client_id}/record/{record_uuid
}
Delete record
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /client/{client_id}/record/{record_uuid}/download/
Get record with basic http authentication
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /client/{client_id}/record/{record_uuid}/path/
Get ftp record path
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /client/{client_id}/record/{record_uuid}/storage_url/
Get record storage url
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /client/{client_id}/reg_status_log/
Get logs for change registrations of all client extensions
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. Start datetime. |
|
| Required. End datetime. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
|
POST /client/{client_id}/sound/
Add sound
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Form parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Sound title. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Sound title. |
|
| |
|
| Resource id. |
|
| |
|
|
GET /client/{client_id}/sound/
Get sound list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: 1 |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
GET /client/{client_id}/sound/search/
Client sounds search
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 1 |
Resource fields
Name | Type | Description |
---|---|---|
|
|
PUT /client/{client_id}/sound/{sound_id
}
Update sound
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Sound title. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
POST /client/{client_id}/sound/{sound_id
}
Update sound file
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Form parameters
Name | Type | Description |
---|---|---|
|
| Sound title. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Sound title. |
|
| |
|
| Resource id. |
|
| |
|
|
GET /client/{client_id}/sound/{sound_id
}
Get sound
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
DELETE /client/{client_id}/sound/{sound_id
}
Delete sound
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /client/{client_id}/sound/{sound_id}/download/
Get sound file
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
POST /client/{client_id}/task_scheduler/
Add task scheduler
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| One of 'on', 'off'. Default: off |
|
| |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| One of 'off', 'on'. Default: off |
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /client/{client_id}/task_scheduler/{scheduler_id
}
Update scheduler
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| One of 'on', 'off'. Default: off |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| One of 'off', 'on'. Default: off |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/task_scheduler/{scheduler_id
}
Get task scheduler by id for
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| One of 'off', 'on'. Default: off |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/task_scheduler/{scheduler_id}/task/{task_id
}
Get client
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| One of 'scheduled', 'executed', 'delayed', 'finished'. Default: scheduled |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'success', 'failed'. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 1 |
|
| |
|
| Resource id. |
|
|
POST /client/{client_id}/task_scheduler/{scheduler_id}/tasks/
Add list of tasks
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource task_args
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 1 |
Resource fields
Name | Type | Description |
---|---|---|
|
|
Resource task_res
Name | Type | Description |
---|---|---|
|
| One of 'scheduled', 'executed', 'delayed', 'finished'. Default: scheduled |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'success', 'failed'. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 1 |
|
| |
|
| Resource id. |
|
|
POST /client/{client_id}/user/client/
Add new user client
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| User email. |
|
| User status. One of 'active', 'blocked'. |
|
| Required. User name. |
|
| Send email with access data for new user. Default: False |
|
| User access type. One of 'full', 'read_only'. |
|
| User extra params. |
|
| User timezone. |
|
| Required. User login. |
|
| Required. User password. |
|
| User email. |
|
| 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 |
---|---|---|
|
| Required. Start datetime. |
|
| Required. End datetime. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
|
| Event type. |
...
GET /client/{client_id}/call_history/
Get call history list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'in', 'out'. |
|
| |
|
| |
|
| |
|
| |
|
| Result page. Default: 1 |
|
| Items per page. Default: 100000 |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description |
---|---|---|
|
| Items per page. |
|
| Default: [] |
|
| Datetime sorting order. |
|
| Result page. |
Resource call_history
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
GET /client/{client_id}/
...
Get user client list
...
call_history/{call_uuid
}
Get call history item
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
Resource fields
Name | Type | Description | |
---|---|---|---|
|
| ||
|
| ||
|
| ||
|
| ||
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /client/{client_id}/user/client/{user_id
}
Update user client
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| User email. |
|
| User status. One of 'active', 'blocked'. |
|
| User name. |
|
| User access type. One of 'full', 'read_only'. |
|
| User extra params. |
|
| User timezone. |
|
| User password. |
|
| User email. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/user/client/{user_id
}
Get user client
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
DELETE /client/{client_id}/user/client/{user_id
}
Delete user client
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Resource cdr_response
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
GET /client/{client_id}/
...
calls/
...
Get call list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
Query parameters
Name | Type | Description |
---|---|---|
|
| User emailRequired. |
|
| User status. One of 'active', 'blocked'. |
|
| Required. User name. |
|
| Send email with access data for new user. Default: False |
|
| User access type. One of 'full', 'read_only'. |
|
| Required. User extension id. |
|
| User extra params. |
|
| User timezone. |
|
| Required. User login. |
|
| Required. User password. |
|
| User email. |
|
| Required. User email. Required. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'in', 'out'. |
|
| |
|
| |
|
| |
|
| |
|
| Result page. Default: 1 |
|
| Items per page. Default: 100000 |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description | |
---|---|---|---|
|
| Items per page. | |
Name | Type | Description | |
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| Resource id. |
GET /client/{client_id}/user/extension/
Get user extension list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource fields
| ||
|
| |
|
| Result page. |
Resource calls
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
GET /client/{client_id}/
...
calls/
...
stats/
...
Update user extension
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
Get calls statistics
Path parameters
Name | Type | Description | |
---|---|---|---|
|
| User email. | |
|
| User status. One of 'active', 'blocked'. | |
|
| User name. |
|
Query parameters
Name | Type | Description |
---|---|---|
|
| User access type. One of 'full', 'read_only'Required. |
|
| Required. |
|
| User extension id. |
|
| User extra params. |
|
| User timezone. |
|
| User password. |
|
| User email. |
Resource fields
|
...
GET /client/{client_id}/cdr/
Get call list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /client/{client_id}/user/extension/{user_id
}
Get user extension
...
| ||
|
| One of 'in', 'out', 'transfer'. |
|
| |
|
| |
|
| |
|
| Result page. Default: 1 |
|
| Items per page. Default: 100000 |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
Items per page. | ||
|
| Datetime sorting order. |
|
| |
|
| Result page. |
Resource cdr_response
Name | Type | Description | |
---|---|---|---|
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| Resource id. |
DELETE /client/{client_id}/user/extension/{user_id
}
Delete user extension
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
POST /client/{client_id}/user/extension_group/
Add new user extension group
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description | |
---|---|---|---|
|
| User email. | |
|
| User status. One of 'active', 'blocked'. | |
|
| Required. User name. | |
|
| Send email with access data for new user. Default: False | |
|
| User extra params. | |
|
| User access type. One of 'full', 'read_only'. | |
|
| Required. User extension id. | |
|
| User timezone. | |
|
| Required. User login. | |
|
| Required. User password. | |
|
| User email. | |
|
| Required. User email. |
|
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
|
...
GET /client/{client_id}/cdr/stats/
Get calls statistics
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
|
...
GET /client/{client_id}/disk_space/
Get client available free disk space
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
|
...
GET /client/{client_id}/
...
disk_space/stats/
Get user extension group list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
client available free disk space
Path parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource fields
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /client/{client_id}/user/extension_group/{user_id
}
...
Start datetime. | ||
|
| End datetime. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
GET /client/{client_id}/extension/call_status/stats/history/
Get extension call status history
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description | |
---|---|---|---|
|
| User email. | |
|
| User status |
|
|
| Result page. Default: 1 | |
|
| Items per page. Default: 100000 | |
|
| Datetime sorting order. One of 'activedesc', 'blockedasc'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
| User name. | |
|
| User extension id. |
|
| User access type. One of 'full', 'read_only'. |
|
| User extra params. |
|
| User timezone. |
|
| User password. |
|
| User email. |
...
|
|
|
|
...
GET /client/{client_id}/fax/in/
Get incoming fax messages list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Extension id. |
|
| Extension group id. |
|
| |
|
| |
| ||
|
| End datetime. |
|
|
|
|
| Resource id. |
GET /client/{client_id}/user/extension_group/{user_id
}
Get user extension group
Path parameters
Name | Type | Description | |
---|---|---|---|
|
| Required. | |
|
| Required. | Destination number. |
|
| Caller id number. | |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description | |
---|---|---|---|
|
| Fax uuid. | |
|
| ||
|
| ||
extension_groupDestination number. | |||
|
|
|
|
|
| ||
| |||
|
| ||
|
| ||
|
| ||
Record datetime. | |||
|
| Fax file size. | |
|
| Resource Extension id. |
...
|
...
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
Delete user extension group
Path parameters
client | Client id. | |
|
| RequiredExtension group id. |
...
GET /client/{client_id}/fax/
...
out/
Post Get client variablesfax messages list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
|
| |
|
| Start datetime. |
|
| End datetime. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
|
...
GET /client/{client_id}/
...
reg_status_log/
Get client variableslogs for change registrations of all client extensions
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. Start datetime. |
|
| Required. End datetime. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description | |
---|---|---|---|
|
| ||
|
| ||
|
|
...
GET /client/{client_id}/voicemail/
Get voice mail messages list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description | |||
---|---|---|---|---|---|
|
| Required. Start datetime. | |||
|
| Required. End datetime. |
|
| Extension id. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc | |||
|
| Extension id. | |||
|
| Extension id. |
Resource fields
Name | Type | Description | |
---|---|---|---|
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| Extension id. |
|
|
| ||
|
|
DELETE /client/{client_id}/voicemail/
Delete voice mail messages in interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. Start datetime. |
|
| Required. End datetime. |
GET /client/{client_id}/voicemail/{record_uuid
}
Get voicemail message file
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
DELETE /client/{client_id}/voicemail/{record_uuid
}
Delete voice message
Path parameters
Name | Type | Description | |
---|---|---|---|
|
| Required. | |
|
| Required. |
|
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| Extension id. | |
|
| ||
|
|
...