...
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| Extension id, multiple possible. |
|
| Default: [] |
Resource registration
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
|
...
POST /extension/{extension_id}/agent/
...
Name | Type | Description |
---|---|---|
|
| Items per page. |
|
| Datetime sorting order. |
|
| |
|
| Result page. |
GET /extension/{extension_id}/cdr/stats/
Get calls statistics
Path parameters
Resource cdr_response
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
PUT /extension/{extension_id}/chat/{chat_id}/messages/
Change chat messages
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
GET /extension/{extension_id}/chat/{chat_id}/messages/
Get chat messages list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Start datetime. |
|
| |
|
| Default: 1 |
|
| |
|
| End datetime. |
|
| |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...
GET /extension/{extension_id}/cdr/stats/
Get calls statistics
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
PUT /extension/{extension_id}/chat/{chat_id}/messages/
Delete all Change chat messages
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
JSON parameters
Name | Type | Description |
---|---|---|
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
GET /extension/{extension_id}/chat/{chat_id}/
...
messages/
Update conference configurationGet chat messages list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
| Start datetime. |
|
| |
|
| Default: 1 |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| End datetime. |
|
| |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: False |
|
| Default: False |
...
|
| |
|
| Resource id. |
|
|
DELETE /extension/{extension_id}/chat/{chat_id}/messages/
Delete all chat messages
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
PUT /extension/{extension_id}/conference/
Get Update conference configuration
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: False |
|
| Default: False |
GET /extension/{extension_id}/current_calls/
Get active calls for extension type phone
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
...
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: False |
|
| Default: False |
GET /extension/{extension_id}/
...
conference/
Get conference configuration
Path parameters
Name | Type | Description |
| |
---|---|---|---|---|
Required. |
|
| Required. |
...
Resource fields
Name | Type | Description |
---|---|---|
|
| Required. One of 'eavesdrop', 'whisper', 'conference', 'transfer', 'attended_transfer', 'hold', 'offhold', 'park', 'pickup'. |
|
| |
|
| |
|
|
|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: False |
|
| Default: False |
...
GET /extension/{extension_id}/current_calls/
...
Get active call calls for extension type phone by call_api_id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
Resource fields
Name | Type | Description |
---|---|---|
|
|
Resource call_mdl
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
PUT /extension/{extension_id}/current_calls/{call_api_id
}
Delete Update call
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
POST /extension/{extension_id}/event/
Add extension event
Path parameters
...
Name
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description | |
---|---|---|---|
|
| Required. Request url. | |
|
|
| Required. Call event type. One of 'dial-ineavesdrop', 'dial-outwhisper', 'hangupconference', 'answertransfer', 'message-inattended_transfer', 'message-outhold', 'message-out-statusoffhold', 'voicemail'. |
|
| Required. Http request method. One of 'GET', 'POST'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
park', 'pickup'. | |
|
|
|
|
|
|
GET /extension/{extension_id}/
...
current_calls/{call_api_id
}
Get extension event listactive call for extension type phone by call_api_id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
DELETE /extension/{extension_id}/
...
current_calls/{call_api_id
}
Delete call
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
POST /extension/{extension_id}/event/
...
Update Add extension event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. Request url. |
|
| Required. Call event type. One of 'dial-in', 'dial-out', 'hangup', 'answer', 'message-in', 'message-out', 'message-out-status', 'voicemail'. |
|
| Required. Http request method. One of 'GET', 'POST'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
GET /extension/{extension_id}/event/
...
Get extension event list
Path parameters
Name | Type | Description | ||
---|---|---|---|---|
|
| Required. |
|
| Required.
Resource
...
fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
DELETE /extension/{extension_id}/event/
...
Delete all extension eventevents
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
...
PUT /extension/{extension_id}/
...
event/{id
}
Get Update extension event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
|
| Required. Resource id. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Request url. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
Call event type. One of 'dial-in', 'dial-out', 'hangup', 'answer', 'message-in', 'message-out', 'message-out-status', 'voicemail'. | ||
|
| Http request method. One of 'GET', 'POST'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
...
GET /extension/{extension_id}/
...
event/
...
{id
}
Get extension event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
|
Resource fields
Name |
| |
---|---|---|
|
| Resource id. |
DELETE /extension/{extension_id}/event/{id
}
Delete extension event
Path parameters
Name | Type | Description |
---|---|---|
|
| Default: tiff |
|
| |
|
| |
|
| |
Required. | ||
|
| Required. Resource id. |
...
GET /extension/{extension_id}/
...
extension/
Get fax configextension
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: tiff |
|
| |
|
| |
|
|
GET /extension/{extension_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. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
...
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
...
PUT /extension/{extension_id}/fax/
Update fax config
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description | |
---|---|---|---|
|
| Fax uuid. | |
|
| Destination number. | |
|
| Caller id. | |
|
| Record datetime. | |
|
| Fax file size. | |
|
| Extension id. | |
|
| Client id. | |
|
| Extension group id. |
|
|
| ||
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: tiff |
|
| |
|
| |
|
|
GET /extension/{extension_id}/fax
...
/
...
Get incoming fax messageconfig
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: tiff |
|
| Required. |
...
|
|
|
|
...
GET /extension/{extension_id}/fax/
...
in/
Send Get incoming fax messagemessages list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
Query parameters
Name | Type | Description |
---|---|---|
|
| RequiredStart datetime. Destination number. |
|
| Required. |
Resource fields
Name | Type | Description | |
---|---|---|---|
|
| ||
|
|
| Fax uuid. |
|
| Destination number. | |
|
| Resource id. | |
|
|
GET /extension/{extension_id}/fax/out/
Get fax messages list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description | |||
---|---|---|---|---|---|
start | Caller id number. | ||||
|
| Start End datetime. | |||
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
|
| End datetime. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Fax uuid. |
|
| Destination number. |
|
| Resource Caller id. |
|
|
...
Record datetime. | ||
|
| Fax file size. |
|
| Extension id. |
|
| Client id. |
|
| Extension group id. |
...
GET /extension/{extension_id}/fax/
...
in/{
...
fax_
...
uuid
}
Change Get incoming fax message
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
POST /extension/{extension_id}/fax/out/
Send fax message
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
Form parameters
Name | Type | Description |
---|---|---|
|
| Required. One of 'cancel', 'retry'. Destination number. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Destination number. |
|
| Resource id. |
|
|
GET /extension/{extension_id}/fax/out/
...
Get fax messagemessages list
Path parameters
Name | Type | Description | ||
---|---|---|---|---|
|
| Required. |
|
| Required
Query parameters
Name | Type | Description |
---|---|---|
|
| Start datetime. |
|
| Datetime sorting order. One of 'desc', 'asc'. Default: desc |
|
| End datetime. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
|
...
PUT /extension/{extension_id}/
...
fax/out/{message_id
}
Change fax message
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
Query parameters
Name | Type | Description | ||
---|---|---|---|---|
|
| Allow public called destinations to transfer calls. Default: False | ||
|
| Extension call status |
| Required. One of 'no_answercancel', 'busy', 'any'. Default: anycall_retry'. |
Resource fields
Name | Type | Description | |
---|---|---|---|
|
| Call status. One of 'no_answer', 'busy', 'any'. Default: any | |
|
| Transfer destination for transfer rule. multiple destinations divided by space. | |
|
| Enable call screening for transfer call. Default: False | |
|
| Rule is active. Default: True | |
|
| Time interval id. | |
|
| Caller id matching method. One of 'matches', 'not_matches', 'anonymous', 'any'. Default: any | |
|
| Rule control code. | |
|
| Caller id. | |
|
| While transfer play ring back tones instead of early media. Default: True | |
|
| Extension status. One of 'registered', 'unreachable |
|
|
| Resource id. | |
|
|
GET /extension/{extension_id}/fax/out/{message_id
}
Get fax message
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
|
...
POST /extension/{extension_id}/incom_rule/
Add extension incoming call rule
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description | |
---|---|---|---|
|
| Allow public called destinations to transfer calls. Default: False | |
|
| Extension call status. One of 'no_answer', 'busy', 'any'. Default: any | |
|
| Ring to transfer destination this count of seconds | Call status. One of 'no_answer', 'busy', 'any'. Default: 60any |
|
| Sound id Transfer destination for playfile transfer rule. | |
|
| List of elements for cascade rule. | |
|
| Required. Rule type. One of 'busy', 'transfer', 'hangup', 'playfile', 'voicemail', 'cascade', 'simple_transfer', 'simple_cascade'. | |
|
| If rule is final, next rules will be not executed if call failed. Default: True | |
|
| Rule name. |
Resource fields
Name | Type | Description | |
---|---|---|---|
|
| Default: False | |
|
| One of 'no_answer', 'busymultiple destinations divided by space. | |
|
| Enable call screening for transfer call. Default: False | |
|
| Rule is active. Default: True | |
|
| Time interval id. | |
|
| Caller id matching method. One of 'matches', 'not_matches', 'anonymous', 'any'. Default: any | |
|
| Rule control code. | |
|
| Caller id. | |
|
| While transfer play ring back tones instead of early media. Default: True | |
|
| Extension status. One of 'registered', 'unreachable', 'any'. Default: any | |
|
| One of 'no_answer', 'busy', 'any' | Ring to transfer destination this count of seconds. Default: any60 |
|
| ||
|
| Default: False | |
|
| Default: True | |
|
| ||
|
| ||
|
| ||
|
| ||
|
| Resource id. | |
|
| One of 'registered', 'unreachable', 'any'. Default: any | |
|
| ||
|
| Default: False | |
|
| ||
|
| ||
|
| ||
|
| Sound id for playfile rule. | |
|
| List of elements for cascade rule. | |
|
| Required. Rule type. One of 'busy', 'transfer', 'hangup', 'playfile', 'voicemail', 'cascade', 'simple_transfer', 'simple_cascade'. | |
|
| If rule is final, next rules will be not executed if call failed. Default: True | |
|
|
GET /extension/{extension_id}/incom_rule/
Get extension incoming call rules list
Path parameters
Rule name. |
Resource cascade_number
Name | Type | Description | |
---|---|---|---|
|
| Required. | |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| |
|
| Default: False |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| One of 'registered', 'unreachable', 'any'. Default: any |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: True |
|
|
...
Resource cascade_number
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /extension/{extension_id}/incom_rule
...
/
Update current rules orderGet extension incoming call rules list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. All rules ids in needed order. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: []False |
...
|
...
Get current rules order
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: [] |
PUT /extension/{extension_id}/incom_rule/{rule_id
}
Update extension incoming call rule by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Allow public called destinations to transfer calls. |
|
| Extension call status. One of 'no_answer', 'busy', 'any'. |
|
| Call status. One of 'no_answer', 'busy', 'any'. |
|
| Transfer destination for transfer rule. multiple destinations divided by space. |
|
| Enable call screening for transfer call. |
|
| Rule is active. |
|
| Time interval id. |
|
| Caller id matching method. One of 'matches', 'not_matches', 'anonymous', 'any'. |
|
| Rule control code. |
|
| Caller id. |
|
| While transfer play ring back tones instead of early media. |
|
| Extension status. One of 'registered', 'unreachable', 'any'. |
|
| Ring to transfer destination this count of seconds. |
|
| Sound id for playfile rule. |
|
| List of elements for cascade rule. |
|
| Rule type. One of 'busy', 'transfer', 'hangup', 'playfile', 'voicemail', 'cascade', 'simple_transfer', 'simple_cascade'. |
|
| If rule is final, next rules will be not executed if call failed. |
|
| Rule name. |
...
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| |
|
| Default: False |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| One of 'registered', 'unreachable', 'any'. Default: any |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: True |
|
|
Resource cascade_number
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
PUT /extension/{extension_id}/incom_rule/order/
Update current rules order
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. All rules ids in needed order. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: [] |
GET /extension/{extension_id}/incom_rule/order/
Get current rules order
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: [] |
...
PUT /extension/{extension_id}/incom_rule/{rule_id
}
Update extension incoming call rule by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description | ||
---|---|---|---|---|
|
| Allow public called destinations to transfer calls. | ||
|
| Extension call status. One of 'no_answer', 'busy', 'any'. Default: any | ||
|
| Call status. One of 'no_answer', 'busy', 'any'. Default: any | ||
|
| Transfer destination for transfer rule. multiple destinations divided by space. | ||
|
| Enable call screening for transfer call. | ||
|
| Rule is active. | ||
|
| Time interval id. | ||
|
| Caller id matching method. One of 'matches', 'not_matches', 'anonymous', 'any'. | ||
|
| Rule control code. | ||
|
| Caller id |
| Resource id. |
|
| While transfer play ring back tones instead of early media. | ||
|
| Extension status. One of 'registered', 'unreachable', 'any'. Default: any | ||
|
| |||
|
| Default: False | ||
|
| |||
Ring to transfer destination this count of seconds. | ||||
|
| Sound id for playfile rule. | ||
|
| List of elements for cascade rule. | ||
|
| Rule type. One of 'busy', 'transfer', 'hangup', 'playfile', 'voicemail', 'cascade', 'simple_transfer', 'simple_cascade'. | ||
|
| If rule is final, next rules will be not executed if call failed. | ||
|
|
GET /extension/{extension_id}/incom_rule/{rule_id
}
Get extension incoming call rule by id
Path parameters
Rule name. |
Resource cascade_number
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| |
|
| Default: False |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| One of 'registered', 'unreachable', 'any'. Default: any |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: True |
|
|
...
Resource cascade_number
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /extension/{extension_id}/incom_rule/{rule_id
}
Delete Get extension incoming call rule by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
POST /extension/{extension_id}/interval/
Add interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description | ||
---|---|---|---|---|
|
| Required. Interval timezone. | ||
|
| Required. Datetime conditions. | ||
|
| Required. Interval name. |
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| One of 'no_answer', 'busy', 'any'. Default: any |
|
| |
|
| Default: False |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| One of 'registered', 'unreachable', 'any'. Default: any |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: True |
|
|
Resource cascade_number
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
DELETE /extension/{extension_id}/incom_rule/{rule_id
}
Delete extension incoming call rule by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
POST /extension/{extension_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 /extension/{extension_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 /extension/{extension_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. |
GET /extension/{extension_id}/interval/
Get interval list
Path parameters
Resource interval_condition
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
|
| |
|
| 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 /extension/{extension_id}/interval/{interval_id
}
Update Get interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description | |||
---|---|---|---|---|---|
|
| Required. Interval timezone. | |||
|
| Required. Datetime conditions. |
|
| Required. Interval name. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /extension/{extension_id}/interval/{interval_id
}
Get interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| 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 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 /extension/{extension_id}/interval/{interval_id
}
...
Name | Type | Description | |||||
---|---|---|---|---|---|---|---|
|
| Variable name for transfer_from_variable. | |||||
|
| Call status. One of 'no_answer', 'busy', 'any'. Default: any | |||||
|
| Playing method to play digits. One of 'pronounced', 'iterated', 'None'. | |||||
|
| If true - classic ivr navigation from the keyboard will be enabled after recognition (if none of the matches were received earlier). | |||||
|
| Caller id. | |||||
|
| Number of times to wait for final words recognitions. | |||||
|
| Variable value for variable-based condition. | |||||
|
| Variable name for play_digits_variable. | |||||
|
| Call interactive method. One of 'GET', 'POST', 'None'. Default: GET | |||||
|
| Timeout in milliseconds before stop listen voice and start recognize. | |||||
|
| Maximum digits amount for record_digits. | |||||
|
| If true - transfer to dst from variable will be simple, default false. Default: False | |||||
|
| Maximum digits to terminate listen voice and start recognize. | |||||
|
| Variable name for variable-based condition. | |||||
|
| Caller id matching method. One of 'matches', 'not_matches', 'anonymous', 'any'. Default: any | |||||
|
| Context option to jump. | |||||
|
| Silence duration in milliseconds. | |||||
|
| Variable name for set_variable. | |||||
|
| Caller_id_number. | |||||
|
| One of 'normal', 'busy'. Default: normal | |||||
|
| If rule is final, next rules will be not executed if call failed. Default: True | |||||
|
| Sound to play. | |||||
|
| Sound type. One of 'background', 'foreground', 'None'. | |||||
|
| ||||||
|
| Call interactive url. | |||||
|
| Insert new rule in position. | |||||
|
| Caller_id_name. | |||||
|
| List of elements for voice helper rule. | |||||
|
| Digits to play. | |||||
|
| Rule name. | |||||
|
| Variable name for record_digits. | |||||
|
| Check if sound in variable- if so - file from variable will be played instead other sound. | |||||
|
| Rule time interval. | |||||
|
| Record digits timeout in milliseconds. | |||||
|
| Transfer destination. | |||||
|
| Context to jump. | |||||
|
| Required. Rule action. One of 'transfer', 'hangup', 'play_sound', 'play_silence', 'jump_to_context', 'play_digits', 'call_interactive', 'transfer_from_variable', 'set_variable', 'voicemail', 'simple_transfer', 'set_caller_id_name', 'set_caller_id_number', 'record_digits', 'play_digits_from_variable', 'quality_rate', 'voice_helper', 'start_record'. | |||||
|
| Variable value for set_variable. | |||||
|
| Call interactive timout. |
|
| Id of sound to play record_digits |
| Call interactive timout. |
|
| Id of sound to play record_digits. |
Resource voice_helper_rules
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Default: any |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: normal |
|
| Default: True |
|
| |
|
| |
|
| Default: 5 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource voice_helper_rules
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /extension/{extension_id}/ivr/context/{context_id}/options/{option_digits}/rules/
...
Name | Type | Description |
---|---|---|
|
| |
|
| Default: any |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: normal |
|
| Default: True |
|
| |
|
| |
|
| Default: 5 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource voice_helper_rules
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
...
PUT /extension/{extension_id}/ivr/context/{context_id}/options/{option_digits}/rules/order/
...
Name | Type | Description |
---|---|---|
|
| Variable name for transfer_from_variable. |
|
| Call status. One of 'no_answer', 'busy', 'any'. |
|
| Playing method to play digits. One of 'pronounced', 'iterated', 'None'. |
|
| If true - classic ivr navigation from the keyboard will be enabled after recognition (if none of the matches were received earlier). |
|
| Caller id. |
|
| Number of times to wait for final words recognitions. |
|
| Variable value for variable-based condition. |
|
| Variable name for play_digits_variable. |
|
| Call interactive method. One of 'GET', 'POST', 'None'. |
|
| Timeout in milliseconds before stop listen voice and start recognize. |
|
| Maximum digits amount for record_digits. |
|
| If true - transfer to dst from variable will be simple, default false. Default: False |
|
| Maximum digits to terminate listen voice and start recognize. |
|
| Variable name for variable-based condition. |
|
| Caller id matching method. One of 'matches', 'not_matches', 'anonymous', 'any'. |
|
| Context option to jump. |
|
| Silence duration in milliseconds. |
|
| Variable name for set_variable. |
|
| Caller_id_number. |
|
| One of 'normal', 'busy'. |
|
| If rule is final, next rules will be not executed if call failed. |
|
| Sound to play. |
|
| Sound type. One of 'background', 'foreground', 'None'. |
|
| |
|
| Call interactive url. |
|
| Caller_id_name. |
|
| List of elements for voice helper rule. |
|
| Ring to transfer destination this count of seconds. |
|
| Digits to play. |
|
| Rule name. |
|
| Variable name for record_digits. |
|
| Check if sound in variable- if so - file from variable will be played instead other sound. |
|
| Rule time interval. |
|
| Record digits timeout in milliseconds. |
|
| Transfer destination. |
|
| Context to jump. |
|
| Rule action. One of 'transfer', 'hangup', 'play_sound', 'play_silence', 'jump_to_context', 'play_digits', 'call_interactive', 'transfer_from_variable', 'set_variable', 'voicemail', 'simple_transfer', 'set_caller_id_name', 'set_caller_id_number', 'record_digits', 'play_digits_from_variable', 'quality_rate', 'voice_helper', 'start_record'. |
|
| Variable value for set_variable. |
|
| Call interactive timout. |
|
| Id of sound to play record_digits. |
Resource voice_helper_rules
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Default: any |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: normal |
|
| Default: True |
|
| |
|
| |
|
| Default: 5 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource voice_helper_rules
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
GET /extension/{extension_id}/ivr/context/{context_id}/options/{option_digits}/rules/{rule_id
}
...
Name | Type | Description |
---|---|---|
|
| |
|
| Default: any |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: normal |
|
| Default: True |
|
| |
|
| |
|
| Default: 5 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource voice_helper_rules
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
DELETE /extension/{extension_id}/ivr/context/{context_id}/options/{option_digits}/rules/{rule_id
}
...
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: default |
|
| |
|
| Default: True |
|
| |
|
|
Resource context_model
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| Context name. |
...
POST /extension/{extension_id}/mail_notification/
...
Name | Type | Description |
---|---|---|
|
| Default: False |
|
| |
|
| Default: [] |
Resource registration
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
|
DELETE /extension/{extension_id}/registration/
...