Table of Contents | ||
---|---|---|
|
PUT /admin/admin_global_access_list/
Update access list
JSON parameters
Name | Type | Description |
---|---|---|
|
| Network_address/mask list. |
|
| Network_address/mask list. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
GET /admin/
...
Get access list
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
POST /admin/alias/
Add alias
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Required. |
|
| |
|
| |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /admin/alias/
Get alias list
restapi_logs/
Get restapi logs
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /admin/alias/search/
Alias search
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource alias
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /admin/alias/{alias_id
}
Update alias
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /admin/alias/{alias_id
}
Get alias
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
DELETE /admin/alias/{alias_id
}
Delete alias
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
POST /admin/application/
Add application
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| Default: False |
|
| Required. |
|
| Default: False |
|
| |
|
| One of 'call_api', 'all'. Default: call_api |
|
| |
|
| One of 'public', 'trusted', 'password_credentials'. Default: public |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: visible_only_when_creating_or_resetting |
|
| |
|
| |
|
| Resource id. |
GET /admin/application/
Get applications list with filter by id
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: visible_only_when_creating_or_resetting |
|
| |
|
| |
|
| Resource id. |
GET /admin/application/search/
Application search
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| Required. |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource application
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: visible_only_when_creating_or_resetting |
|
| |
|
| |
|
| Resource id. |
POST /admin/application/{application_id}/rate_limit/
Add application rate limit
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. One of 'default', 'stats'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
GET /admin/application/{application_id}/rate_limit/
Get application rate limit list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
PUT /admin/application/{application_id}/rate_limit/{limit_id
}
Update application rate limit value
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
GET /admin/application/{application_id}/rate_limit/{limit_id
}
Get application rate limit by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
DELETE /admin/application/{application_id}/rate_limit/{limit_id
}
Delete application rate limit
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
PUT /admin/application/{id
}
Update application
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'call_api', 'all'. |
|
| One of 'public', 'trusted', 'password_credentials'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: visible_only_when_creating_or_resetting |
|
| |
|
| |
|
| Resource id. |
GET /admin/application/{id
}
Get application by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: visible_only_when_creating_or_resetting |
|
| |
|
| |
|
| Resource id. |
DELETE /admin/application/{id
}
Delete application
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
PUT /admin/application/{id}/reset_secret/
Reset application secret
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: visible_only_when_creating_or_resetting |
|
| |
|
| |
|
| Resource id. |
GET /admin/call_leg_count/
Get count of active call legs
Resource fields
Name | Type | Description |
---|---|---|
|
|
POST /admin/client/
Add client
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Music on hold sound id. |
|
| One of 'yes', 'no'. |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Call interactive method. One of 'GET', 'POST'. Default: GET |
|
| |
|
| |
|
| Required. |
|
| |
|
| |
|
| Default: 3 |
|
| Required. |
|
| |
|
| |
|
| |
|
| |
|
| Required. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'J', 'F'. |
|
| Required. |
|
| One of 'active', 'blocked'. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Comma-separated list of codecs without spaces. |
|
| Call interactive url. |
|
| |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| One of 'default', 'from', 'diversion'. |
|
| Default: Europe/Moscow |
|
| |
|
| One of 'None', 'ab', 'aa', 'af', 'ak', 'sq', 'am', 'ar', 'an', 'hy', 'as', 'av', 'ae', 'ay', 'az', 'bm', 'ba', 'eu', 'be', 'bn', 'bh', 'bi', 'bs', 'br', 'bg', 'my', 'ca', 'ch', 'ce', 'ny', 'zh', 'cv', 'kw', 'co', 'cr', 'hr', 'cs', 'da', 'dv', 'nl', 'dz', 'en', 'eo', 'et', 'ee', 'fo', 'fj', 'fi', 'fr', 'ff', 'gl', 'ka', 'de', 'el', 'gn', 'gu', 'ht', 'ha', 'he', 'hz', 'hi', 'ho', 'hu', 'ia', 'id', 'ie', 'ga', 'ig', 'ik', 'io', 'is', 'it', 'iu', 'ja', 'jv', 'kl', 'kn', 'kr', 'ks', 'kk', 'km', 'ki', 'rw', 'ky', 'kv', 'kg', 'ko', 'ku', 'kj', 'la', 'lb', 'lg', 'li', 'ln', 'lo', 'lt', 'lu', 'lv', 'gv', 'mk', 'mg', 'ms', 'ml', 'mt', 'mi', 'mr', 'mh', 'mn', 'na', 'nv', 'nd', 'ne', 'ng', 'nb', 'nn', 'no', 'ii', 'nr', 'oc', 'oj', 'cu', 'om', 'or', 'os', 'pa', 'pi', 'fa', 'pl', 'ps', 'pt', 'qu', 'rm', 'rn', 'ro', 'ru', 'sa', 'sc', 'sd', 'se', 'sm', 'sg', 'sr', 'gd', 'sn', 'si', 'sk', 'sl', 'so', 'st', 'es', 'su', 'sw', 'ss', 'sv', 'ta', 'te', 'tg', 'th', 'ti', 'bo', 'tk', 'tl', 'tn', 'to', 'tr', 'ts', 'tt', 'tw', 'ty', 'ug', 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'cy', 'wo', 'fy', 'xh', 'yi', 'yo', 'za', 'zu'. |
|
| |
|
| Default: False |
|
| One of 'mp3', 'wav'. Default: mp3 |
|
| One of 'yes', 'no'. |
|
| |
|
| |
|
| |
|
| Music for outg_call_vr_on_fail param. |
|
| Call interactive timout. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: GET |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| Default: Europe/Moscow |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: mp3 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /admin/client/
Get client list
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'name', 'prefix', 'domain_id', 'status'. |
|
| One of 'desc', 'asc'. Default: asc |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: GET |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| Default: Europe/Moscow |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: mp3 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /admin/client/search/
Client search
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| Required. |
|
| One of 'name', 'prefix', 'domain_id', 'status'. |
|
| One of 'desc', 'asc'. Default: asc |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource client_search
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: GET |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| Default: Europe/Moscow |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: mp3 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
PUT /admin/client/{client_id
}
Update client
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Music on hold sound id. |
|
| One of 'yes', 'no'. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Call interactive method. One of 'GET', 'POST'. Default: GET |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'J', 'F'. |
|
| |
|
| One of 'active', 'blocked'. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Comma-separated list of codecs without spaces. |
|
| Call interactive url. |
|
| |
|
| |
|
| |
|
| |
|
| One of 'default', 'from', 'diversion'. |
|
| |
|
| |
|
| One of 'None', 'ab', 'aa', 'af', 'ak', 'sq', 'am', 'ar', 'an', 'hy', 'as', 'av', 'ae', 'ay', 'az', 'bm', 'ba', 'eu', 'be', 'bn', 'bh', 'bi', 'bs', 'br', 'bg', 'my', 'ca', 'ch', 'ce', 'ny', 'zh', 'cv', 'kw', 'co', 'cr', 'hr', 'cs', 'da', 'dv', 'nl', 'dz', 'en', 'eo', 'et', 'ee', 'fo', 'fj', 'fi', 'fr', 'ff', 'gl', 'ka', 'de', 'el', 'gn', 'gu', 'ht', 'ha', 'he', 'hz', 'hi', 'ho', 'hu', 'ia', 'id', 'ie', 'ga', 'ig', 'ik', 'io', 'is', 'it', 'iu', 'ja', 'jv', 'kl', 'kn', 'kr', 'ks', 'kk', 'km', 'ki', 'rw', 'ky', 'kv', 'kg', 'ko', 'ku', 'kj', 'la', 'lb', 'lg', 'li', 'ln', 'lo', 'lt', 'lu', 'lv', 'gv', 'mk', 'mg', 'ms', 'ml', 'mt', 'mi', 'mr', 'mh', 'mn', 'na', 'nv', 'nd', 'ne', 'ng', 'nb', 'nn', 'no', 'ii', 'nr', 'oc', 'oj', 'cu', 'om', 'or', 'os', 'pa', 'pi', 'fa', 'pl', 'ps', 'pt', 'qu', 'rm', 'rn', 'ro', 'ru', 'sa', 'sc', 'sd', 'se', 'sm', 'sg', 'sr', 'gd', 'sn', 'si', 'sk', 'sl', 'so', 'st', 'es', 'su', 'sw', 'ss', 'sv', 'ta', 'te', 'tg', 'th', 'ti', 'bo', 'tk', 'tl', 'tn', 'to', 'tr', 'ts', 'tt', 'tw', 'ty', 'ug', 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'cy', 'wo', 'fy', 'xh', 'yi', 'yo', 'za', 'zu'. |
|
| |
|
| Default: False |
|
| One of 'mp3', 'wav'. |
|
| One of 'yes', 'no'. |
|
| |
|
| |
|
| |
|
| Music for outg_call_vr_on_fail param. |
|
| Call interactive timout. |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: GET |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| Default: Europe/Moscow |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: mp3 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /admin/client/{client_id
}
Get client
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: GET |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| Default: Europe/Moscow |
|
| |
|
| |
|
| |
|
| Default: False |
|
| Default: mp3 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
DELETE /admin/client/{client_id
}
Delete client
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Query parameters
Name | Type | Description |
---|---|---|
|
|
PUT /admin/client/{client_id}/allowed_applications/
Update client allowed applications
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
GET /admin/client/{client_id}/allowed_applications/
Get client allowed applications
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
GET /admin/client/{client_id}/media_server/
Get client current media server address
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
POST /admin/dealer/
Add dealer
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Comma-separated list of codecs without spaces. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'J', 'F'. |
|
| |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
GET /admin/dealer/
Get dealer list
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
PUT /admin/dealer/{dealer_id
}
Update dealer
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Comma-separated list of codecs without spaces. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'J', 'F'. |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
GET /admin/dealer/{dealer_id
}
Get dealer
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
DELETE /admin/dealer/{dealer_id
}
Delete dealer
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
PUT /admin/dealer/{dealer_id}/allowed_domains/
Update dealer allowed domains
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
GET /admin/dealer/{dealer_id}/allowed_domains/
Get dealer allowed domains
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
PUT /admin/dealer_global_access_list/
Update access list
JSON parameters
Name | Type | Description |
---|---|---|
|
| Network_address/mask list. |
|
| Network_address/mask list. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
GET /admin/dealer_global_access_list/
Get access list
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
GET /admin/defaults/
Get default values list
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /admin/defaults/{id
}
Update default value
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
JSON parameters
Name | Type | Description |
---|---|---|
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
GET /admin/defaults/{id
}
Get default value by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
POST /admin/dial_rule/
Add global dial rule list
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| One of 'dial', 'trunk_a'. Default: dial |
|
| 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 /admin/dial_rule/
Get global dial rule lists list
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
Resource dial_rule
Name | Type | Description |
---|---|---|
|
| |
|
| Required. |
|
| Required. |
PUT /admin/dial_rule/{dial_rules_id
}
Update global dial rule list
Path parameters
Name | Type | Description |
---|---|---|
|
| 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 /admin/dial_rule/{dial_rules_id
}
Get global dial rule list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
Resource dial_rule
Name | Type | Description |
---|---|---|
|
| |
|
| Required. |
|
| Required. |
DELETE /admin/dial_rule/{dial_rules_id
}
Delete global dial rule list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
POST /admin/did/
Add did
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Required. |
|
| |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
GET /admin/did/
Get did list
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'name', 'id'. Default: name |
|
| One of 'desc', 'asc'. Default: asc |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
GET /admin/did/search/
Did search
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| Required. |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource did_search
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
PUT /admin/did/{did_id
}
Update did
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
GET /admin/did/{did_id
}
Get did
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
DELETE /admin/did/{did_id
}
Delete did
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
PUT /admin/did/{did_id}/registration/
Update did registration information
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
POST /admin/did/{did_id}/registration/
Add did registration information
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| Required. |
|
| Required. |
|
| Required. |
|
| Required. |
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /admin/did/{did_id}/registration/
Get did registration information
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
DELETE /admin/did/{did_id}/registration/
Delete did registration information
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
GET /admin/did/{did_id}/registration/status/
Get did registration status
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Default: False |
|
|
POST /admin/dispatcher/
Add dispatcher
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. |
|
| Required. |
|
| Required. |
|
| Required. |
|
| Required. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /admin/dispatcher/
Get dispatcher list
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /admin/dispatcher/{dispatcher_id
}
Update dispatcher
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /admin/dispatcher/{dispatcher_id
}
Get dispatcher
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
DELETE /admin/dispatcher/{dispatcher_id
}
Delete dispatcher
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
POST /admin/dispatcher_list/
Add dispatcher list
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Resource id. |
|
|
GET /admin/dispatcher_list/
Get dispatcher lists
Resource fields
Name | Type | Description |
---|---|---|
|
| Resource id. |
|
|
PUT /admin/dispatcher_list/{list_id
}
Update dispatcher list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| Resource id. |
|
|
GET /admin/dispatcher_list/{list_id
}
Get dispatcher list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Resource id. |
|
|
DELETE /admin/dispatcher_list/{list_id
}
Delete dispatcher list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
POST /admin/domain/
Add domain
JSON parameters
Name | Type | Description |
---|---|---|
|
| Domain comment. |
|
| Required. Domain prefix. 5-character string. |
|
| Required. Domain name. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
|
GET /admin/domain/
Get domain list
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
|
PUT /admin/domain/{domain_id
}
Update domain
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
|
GET /admin/domain/{domain_id
}
Get domain
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
|
DELETE /admin/domain/{domain_id
}
Delete domain
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
POST /admin/domain/{domain_id}/alias/
Add domain alias
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
GET /admin/domain/{domain_id}/alias/
Get domain aliases list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
PUT /admin/domain/{domain_id}/alias/{id
}
Update domain alias by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
GET /admin/domain/{domain_id}/alias/{id
}
Get domain alias by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
DELETE /admin/domain/{domain_id}/alias/{id
}
Delete domain alias
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
POST /admin/domain/{domain_id}/force_dst/
Add domain force dst
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
GET /admin/domain/{domain_id}/force_dst/
Get domain force dst list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
PUT /admin/domain/{domain_id}/force_dst/{id
}
Update domain force dst by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
JSON parameters
Name | Type | Description |
---|---|---|
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
GET /admin/domain/{domain_id}/force_dst/{id
}
Get domain force dst by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
DELETE /admin/domain/{domain_id}/force_dst/{id
}
Delete domain force dst
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
POST /admin/domain/{domain_id}/force_src/
Add domain force src
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
GET /admin/domain/{domain_id}/force_src/
Get domain force src list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
PUT /admin/domain/{domain_id}/force_src/{id
}
Update domain force src by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
JSON parameters
Name | Type | Description |
---|---|---|
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
GET /admin/domain/{domain_id}/force_src/{id
}
Get domain force src by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
DELETE /admin/domain/{domain_id}/force_src/{id
}
Delete domain force src
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Resource id. |
POST /admin/extension/
Add extension
JSON parameters
Name | Type | Description |
---|---|---|
|
| One of 'active', 'blocked'. Default: blocked |
|
| |
|
| |
|
| Required. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Required. |
|
| |
|
| |
|
| |
|
| |
|
| Required. One of 'phone', 'queue', 'ivr', 'fax', 'conference'. |
|
| One of 'None', 'default', 'from', 'diversion'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
GET /admin/extension/
Get extension list
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
GET /admin/extension/search/
Extension search
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource extension_search
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
PUT /admin/extension/{extension_id
}
Update extension
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| One of 'active', 'blocked'. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'None', 'default', 'from', 'diversion'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
GET /admin/extension/{extension_id
}
Get extension
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
|
DELETE /admin/extension/{extension_id
}
Delete extension
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
PUT /admin/extension/{extension_id}/ivr/
Change ivr configuration
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Action after lifetime expires. One of 'hangup', 'transfer'. |
|
| Context with starts when ivr called. |
|
| Transfer destination while lifetime expires. |
|
| Voicemail enabled. |
|
| Voicemail greeting sound id. |
|
| |
|
| Voicemail configuration. One of 'default', 'record_silence'. |
|
| Ivr call lifetime in seconds. |
|
| Attach voicemail message to notification email. |
|
| Milliseconds before entry context starts. |
|
| Email address for voicemail notifications. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: False |
|
| Default: default |
|
| |
|
| Default: True |
|
| |
|
|
GET /admin/extension/{extension_id}/ivr/
Get ivr configuration
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: False |
|
| Default: default |
|
| |
|
| Default: True |
|
| |
|
|
PUT /admin/extension/{extension_id}/phone/
Change phone configuration
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| One of 'digest', 'network', 'both'. Default: digest |
|
| Voicemail enabled. |
|
| Music on hold sound id. |
|
| |
|
| Preserve original caller id number on attended transfer. |
|
| |
|
| |
|
| |
|
| Append to cid name on transfer. |
|
| Static registration user. |
|
| One of 'yes', 'no', 'None'. |
|
| Timeout in seconds before hangup if extension does not answer. |
|
| |
|
| Email address for voicemail notifications. |
|
| |
|
| Voicemail greeting sound id. |
|
| Call record enabled. |
|
| Attach voicemail message to notification email. |
|
| |
|
| |
|
| |
|
| Transfer caller id number. |
|
| Ignore early media. |
|
| Static registration host. |
|
| Voicemail configuration. One of 'default', 'record_silence'. |
|
| Static registration address:port. |
|
| |
|
| |
|
| Call screening enabled. |
|
| Ringback sound id. |
|
| One of 'mp3', 'wav', 'None'. |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: False |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: default |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: False |
|
|
GET /admin/extension/{extension_id}/phone/
Get phone configuration
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| Default: 60 |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| Default: False |
|
| Default: True |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
| |
|
| Default: default |
|
| |
|
| |
|
| Default: False |
|
| |
|
| |
|
| |
|
| Default: False |
|
|
GET /admin/extension/{extension_id}/sip_auth_info/
Get extension sip authentication information
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
|
POST /admin/force_balancing/
Add extension to force balancing
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
GET /admin/force_balancing/
Get force balancing list
Resource fields
Name | Type | Description |
---|---|---|
|
|
GET /admin/force_balancing/{extension_id
}
Get extension force balancing
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
DELETE /admin/force_balancing/{extension_id
}
Delete extension force balancing
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
GET /admin/globals/
Get global parameters
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
POST /admin/interval/
Add interval
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 /admin/interval/
Get interval list
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 /admin/interval/{interval_id
}
Update 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 /admin/interval/{interval_id
}
Get interval
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. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
DELETE /admin/interval/{interval_id
}
Delete interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
POST /admin/license/
Load new license
Form parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Default: False |
GET /admin/license/
Get current license info
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Default: False |
POST /admin/network_permission/
Add admin network permission group
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 /admin/network_permission/
Get admin network permission group list
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| Network permission count. Default: 0 |
|
| Network addresses list. |
|
| Network permission id. |
|
| Client id. |
|
| Network permission name. |
GET /admin/network_permission/search/
Network permission search
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource network_permission
Name | Type | Description |
---|---|---|
|
| Network permission count. Default: 0 |
|
| Network addresses list. |
|
| Network permission id. |
|
| Client id. |
|
| Network permission name. |
PUT /admin/network_permission/{group_id
}
Update network permission group
Path parameters
Name | Type | Description |
---|---|---|
|
| 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 /admin/network_permission/{group_id
}
Get network permission group
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. |
DELETE /admin/network_permission/{group_id
}
Delete network permission group
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
POST /admin/notify_extension/
Notify extensions
JSON parameters
Name | Type | Description |
---|---|---|
|
| Extension id for notification. |
|
| Need to reboot extensions. Default: False |
Resource fields
Name | Type | Description |
---|---|---|
|
|
GET /admin/rate_limit/
Get rate limit list
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
PUT /admin/rate_limit/{limit_id
}
Update rate limit value
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
GET /admin/rate_limit/{limit_id
}
Get rate limit by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
GET /admin/record/{record_uuid}/full_path/
Get record storage url
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
GET /admin/registration_count/
Get count of registered extensions
Resource fields
Name | Type | Description |
---|---|---|
|
|
POST /admin/routing/
Add routing list
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. Routing rules list. |
|
| Required. Routing list name. |
Resource routing_rule
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
Resource routing_rule
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
|
GET /admin/routing/
Get routing list
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
Resource routing_rule
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
|
PUT /admin/routing/{id
}
Update routing list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Routing rules list. |
|
| Routing list name. |
Resource routing_rule
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
Resource routing_rule
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
|
GET /admin/routing/{id
}
Get routing list by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
Resource routing_rule
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
|
DELETE /admin/routing/{id
}
Delete routing list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
POST /admin/sound/
Add sound
Form parameters
Name | Type | Description |
---|---|---|
|
| Required. Sound title. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| Sound title. |
|
| |
|
| Resource id. |
|
| |
|
|
GET /admin/sound/
Get sound list
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
GET /admin/sound/search/
Common sounds search
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
|
PUT /admin/sound/{sound_id
}
Update sound
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Sound title. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
GET /admin/sound/{sound_id
}
Get sound
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
|
| |
|
|
DELETE /admin/sound/{sound_id
}
Delete sound
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
GET /admin/sound/{sound_id}/download/
Get sound file
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
GET /admin/status/
Get pbx status
POST /admin/trunk/
Add trunk
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'yes', 'no'. Default: no |
|
| |
|
| One of 'yes', 'no'. Default: no |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| |
|
| Required. One of 'in', 'out', 'all'. |
|
| |
|
| Default: False |
|
| One of 'active', 'blocked'. |
|
| One of 'yes', 'no'. |
|
| |
|
| One of 'yes', 'no'. |
|
| |
|
| Required. |
|
| |
|
| |
|
| |
|
| Default: False |
|
| One of 'active', 'blocked'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: [] |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
|
GET /admin/trunk/
Get trunk list
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: [] |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
|
GET /admin/trunk/search/
Trunk search
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource trunk_search
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: [] |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
|
PUT /admin/trunk/{id
}
Update by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'yes', 'no'. Default: no |
|
| |
|
| One of 'yes', 'no'. Default: no |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| |
|
| Required. One of 'in', 'out', 'all'. |
|
| |
|
| Default: False |
|
| One of 'active', 'blocked'. |
|
| One of 'yes', 'no'. |
|
| |
|
| One of 'yes', 'no'. |
|
| |
|
| Required. |
|
| |
|
| |
|
| |
|
| Default: False |
|
| One of 'active', 'blocked'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: [] |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
|
GET /admin/trunk/{id
}
Get trunk by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: [] |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| Default: False |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: False |
|
|
DELETE /admin/trunk/{id
}
Delete trunk
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
POST /admin/user/admin/
Add admin user
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 |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
GET /admin/user/admin/
Get admin user list
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
PUT /admin/user/admin/{user_id
}
Update admin user
Path parameters
Name | Type | Description |
---|---|---|
|
| 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 /admin/user/admin/{user_id
}
Get admin user
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
DELETE /admin/user/admin/{user_id
}
Delete admin user
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
GET /admin/users/
Get user list
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| One of 'active', 'blocked'. |
|
| One of 'full', 'read_only'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Id of dealer resource. |
|
| |
|
| User is admin. Default: False |
|
| |
|
| Resource id. |
|
| |
|
| Id of extension resource. |
|
| Id of client resource. |
|
| Id of extension_group resource. |
|
| |
|
| |
|
|
GET /admin/users/search/
User search
Query parameters
Name | Type | Description |
---|---|---|
|
| Default: 1 |
|
| |
|
| Required. |
|
| |
|
| One of 'active', 'blocked'. |
|
| One of 'full', 'read_only'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
Resource user_search
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Id of dealer resource. |
|
| |
|
| User is admin. Default: False |
|
| |
|
| Resource id. |
|
| |
|
| Id of extension resource. |
|
| Id of client resource. |
|
| Id of extension_group resource. |
|
| |
|
| |
|
|
PUT /admin/users/{user_id
}
Update user
Path parameters
Name | Type | Description |
---|---|---|
|
| 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 |
---|---|---|
|
| |
|
| |
|
| Id of dealer resource. |
|
| |
|
| User is admin. Default: False |
|
| |
|
| Resource id. |
|
| |
|
| Id of extension resource. |
|
| Id of client resource. |
|
| Id of extension_group resource. |
|
| |
|
| |
|
|
GET /admin/users/{user_id
}
Get user
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Id of dealer resource. |
|
| |
|
| User is admin. Default: False |
|
| |
|
| Resource id. |
|
| |
|
| Id of extension resource. |
|
| Id of client resource. |
|
| Id of extension_group resource. |
|
| |
|
| |
|
|
DELETE /admin/users/{user_id
}
Delete user
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
PUT /admin/users/{user_id}/access_list/
Update access list elements by user_id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Network_address/mask list. |
|
| Network_address/mask list. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
GET /admin/users/{user_id}/access_list/
Get access list by user_id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
GET /admin/voicemail/{record_uuid}/full_path/
Get voicemail storage url
Path parameters
Name | Type | Description | ||
---|---|---|---|---|
|
| Required. |
| Required. |
|
| Required. | ||
|
| |||
|
| |||
|
| |||
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...