...
Name | Type | Description | |
---|---|---|---|
|
| ||
|
| Default: False | |
|
| ||
|
| ||
|
| Default: False | |
|
| ||
|
| Default: True | |
|
| ||
|
| ||
|
| ||
|
| ||
|
| Default: 60 | |
|
| ||
|
| ||
|
| Default: False | |
|
| ||
|
| ||
|
| Default: False | |
|
| Default: True | |
|
| ||
|
| Default: False |
|
|
| ||
|
| ||
|
| Default: False | |
|
| ||
|
| Default: default | |
|
| ||
|
| ||
|
| ||
|
| ||
|
| Default: False | |
|
| ||
|
| ||
|
| Default: False | |
|
|
...
Name | Type | Description | |
---|---|---|---|
|
| ||
|
| Default: False | |
|
| ||
|
| ||
|
| Default: False | |
|
| ||
|
| Default: True | |
|
| ||
|
| ||
|
| ||
|
| ||
|
| Default: 60 | |
|
| ||
|
| ||
|
| Default: False | |
|
| ||
|
| ||
|
| Default: False | |
|
| Default: True | |
|
| ||
|
| Default: False |
|
|
| ||
|
| ||
|
| Default: False | |
|
| ||
|
| Default: default | |
|
| ||
|
| ||
|
| ||
|
| ||
|
| Default: False | |
|
| ||
|
| ||
|
| Default: False | |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
...
GET /admin/globals/
Get global parameters
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
GET /admin/helpers/resource_fields/{resource_name
}
Get admin helper
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
GET /admin/helpers/resources
Get admin helper
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
PUT /admin/helpers/{resource_name
}
Put admin helper
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
...
Name
...
Type
...
Description
...
resource_description
...
string
...
field_name
...
string
...
field_description
...
/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. |
...
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 /admin/interval/
Get interval list
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
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. |
...
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 /admin/interval/{interval_id
}
Get interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
...
DELETE /admin/interval/{interval_id
}
Delete interval
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
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 |
...
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 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. |
...
Network permission search
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| Default: 1 |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
...
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 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 network permission group
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...
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 count of registered extensions
Resource fields
Name | Type | Description |
---|---|---|
|
|
...
GET /admin/restapi_logs/
Get restapi logs
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| Required. |
|
| |
|
| |
|
| Default: 1 |
|
| |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
POST /admin/routing/
Add routing list
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. Routing rules list. |
|
| Required. Routing list name. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| |
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| |
| Required. |
GET /admin/routing/
Get routing list
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| |
| 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. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| |
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| Resource id. |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| |
| 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. |
|
|
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| |
| Required. |
DELETE /admin/routing/{id
}
Delete routing list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
...
Name | Type | Description |
---|---|---|
|
| Required. |
|
| Required. Sound title. |
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 |
---|---|---|
|
| Required. |
|
| |
|
| Default: 1 |
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. |
...
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'. |
|
| |
|
| One of 'active', 'blocked'. |
|
| One of 'yes', 'no'. |
|
| |
|
| One of 'yes', 'no'. |
|
| |
|
| Required. |
|
| |
|
| |
|
| |
|
| One of 'active', 'blocked'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: [] |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
GET /admin/trunk/
Get trunk list
Query parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Default: 1 |
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: [] |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
GET /admin/trunk/search/
Trunk search
Query parameters
Name | Type | Description |
---|---|---|
|
| Required. |
|
| |
|
| Default: 1 |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
...
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: [] |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
...
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'. |
|
| |
|
| One of 'active', 'blocked'. |
|
| One of 'yes', 'no'. |
|
| |
|
| One of 'yes', 'no'. |
|
| |
|
| Required. |
|
| |
|
| |
|
| |
|
| One of 'active', 'blocked'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Default: [] |
|
| |
|
| |
|
| |
|
| Resource id. |
|
| |
|
| |
|
| |
|
| Default: 0 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
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 |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
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 |
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 |
---|---|---|
|
| Required. |
|
| |
|
| |
|
| Default: 1 |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
|
...
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. |
...
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 access list by user_id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
...
PUT /admin/{client_id}/phone_event/{id
}
Update client event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Request url. |
|
| Call event type. One of 'dial-in', 'dial-out', 'hangup', 'answer', 'message-in', 'message-out', 'voicemail'. |
|
| Http request method. One of 'GET', 'POST'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
GET /admin/{client_id}/phone_event/{id
}
Get client event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
DELETE /admin/{client_id}/phone_event/{id
}
Delete client event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
|
| Required. |
...
POST /admin/{client_id}/phone_events/
Add client phone event
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
JSON parameters
Name | Type | Description |
---|---|---|
|
| Required. Request url. |
|
| Required. Call event type. One of 'dial-in', 'dial-out', 'hangup', 'answer', 'message-in', 'message-out', 'voicemail'. |
|
| Required. Http request method. One of 'GET', 'POST'. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
GET /admin/{client_id}/phone_events/
Get client event list
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Resource id. |
DELETE /admin/{client_id}/phone_events/
Delete all client events
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. |
...