CTI
Manage CTI functions.
Get a collection of exclusive numbers
OK
Total number of resource.
100Error
GET /api/exclusive_numbers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 1,
"items": [
{
"id": "xxxxxx",
"number": "000000",
"created_at": "2020-01-01T00:00:00Z",
"enabled": true,
"description": ""
}
]
}Add a new exclusive number
The telephone number.
Enable the exclusive number or not.
trueExclusive number's description.
OK
NzAwNTUxOTA5NzczMTQ4MTYwError
POST /api/exclusive_numbers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"number": "000000",
"enabled": true,
"description": ""
}{
"id": "xxxxxxxx"
}Get details of a exclusive number
NzAwNTUxOTA5NzczMTQ4MTYwOK
NzAwNTUxOTA5NzczMTQ4MTYwThe telephone number.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZEnable the exclusive number or not.
trueExclusive number's description.
Error
GET /api/exclusive_numbers/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "xxxxxx",
"number": "000000",
"created_at": "2020-01-01T00:00:00Z",
"enabled": true,
"description": ""
}Update properties of a exclusive number.
NzAwNTUxOTA5NzczMTQ4MTYwThe telephone number.
Enable the exclusive number or not.
trueExclusive number's description.
OK
No content
Error
POST /api/exclusive_numbers/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"number": "000000",
"enabled": true,
"description": ""
}No content
Destroy a exclusive number by it's unique ID.
NzAwNTUxOTA5NzczMTQ4MTYwNo Content
No content
Error
POST /api/exclusive_numbers/{id}/destroy HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Get a collection of call queues where exclusive number is located.
NzAwNTUxOTA5NzczMTQ4MTYwOK
Error
GET /api/exclusive_numbers/{id}/call_queues HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "xxxxxx",
"name": "example",
"extension_number": "101"
}
]
}Get a collection of agent extension numbers in call queue for exclusive number.
NzAwNTUxOTA5NzczMTQ4MTYwNzAwNTUxOTA5NzczMTQ4MTYwOK
Error
GET /api/exclusive_numbers/{id}/call_queues/{queue_id}/agents HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "xxxxxx",
"name": "example",
"display_name": "example",
"extension_number": "101"
}
]
}Set agents for exclusive number.
NzAwNTUxOTA5NzczMTQ4MTYwNzAwNTUxOTA5NzczMTQ4MTYwA collection of call queue agent extension numbers.
OK
No content
Error
POST /api/exclusive_numbers/{id}/call_queues/{queue_id}/agents HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"items": [
"101",
"102"
]
}No content
Remove all agents of call queue for exclusive number.
NzAwNTUxOTA5NzczMTQ4MTYwNzAwNTUxOTA5NzczMTQ4MTYwNo Content
No content
Error
POST /api/exclusive_numbers/{id}/call_queues/{queue_id}/destroy HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Export a collection of number blacklists to file.
OK
Error
GET /api/exclusive_numbers/export HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryGet a collection of VIP numbers.
OK
Total number of resource.
100Error
GET /api/vip_numbers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 1,
"items": [
{
"id": "xxxxxx",
"number": "000000",
"longitude": "",
"latitude": "",
"address": "",
"created_at": "2020-01-01T00:00:00Z",
"updated_at": "2020-01-01T00:00:00Z",
"expire_at": "2020-01-01T00:00:00Z",
"enabled": true,
"description": ""
}
]
}Create a new VIP number.
The VIP number, a string value contains a valid telephone number.
[0-9+]{1,64}VIP number's longitude.
VIP number's latitude.
The address.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZEnable the VIP number or not.
VIP number's description.
OK
NzAwNTUxOTA5NzczMTQ4MTYwError
POST /api/vip_numbers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 128
{
"number": "000000",
"longitude": "",
"latitude": "",
"address": "",
"expire_at": "2020-01-01T00:00:00Z",
"enabled": true,
"description": ""
}{
"id": "xxxxxxxx"
}Get details of the VIP number.
NzAwNTUxOTA5NzczMTQ4MTYwOK
NzAwNTUxOTA5NzczMTQ4MTYwThe VIP number, a string value contains a valid telephone number.
[0-9+]{1,64}VIP number's longitude.
VIP number's latitude.
The address.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZThe RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZThe RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZEnable the VIP number or not.
VIP number's description.
Error
GET /api/vip_numbers/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "xxxxxx",
"number": "000000",
"longitude": "",
"latitude": "",
"address": "",
"created_at": "2020-01-01T00:00:00Z",
"updated_at": "2020-01-01T00:00:00Z",
"expire_at": "2020-01-01T00:00:00Z",
"enabled": true,
"description": ""
}Update a VIP number.
NzAwNTUxOTA5NzczMTQ4MTYwThe VIP number, a string value contains a valid telephone number.
[0-9+]{1,64}VIP number's longitude.
VIP number's latitude.
The address.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZEnable the VIP number or not.
VIP number's description.
OK
No content
Error
POST /api/vip_numbers/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 128
{
"number": "000000",
"longitude": "",
"latitude": "",
"address": "",
"expire_at": "2020-01-01T00:00:00Z",
"enabled": true,
"description": ""
}No content
Destroy a VIP number by it's unique ID.
NzAwNTUxOTA5NzczMTQ4MTYwNo Content
No content
Error
POST /api/vip_numbers/{id}/destroy HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Export a collection of VIP numbers to file.
OK
Error
GET /api/vip_numbers/export HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryOK
Error
GET /api/call_queue_blacklisted_numbers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "xxxxxx",
"number": "000000",
"level": "FIRST",
"longitude": "",
"latitude": "",
"address": "",
"created_at": "2020-01-01T00:00:00Z",
"updated_at": "2020-01-01T00:00:00Z",
"expire_at": "2020-01-01T00:00:00Z",
"trigger_times": 1,
"enabled": true,
"description": ""
}
]
}The blacklisted number, a string value contains a valid telephone number or extension number.
[0-9+]{1,64}Blacklisted number's level:
FIRST: A first level blacklisted number.SECOND: A second level blacklisted number.
Blacklisted number's longitude.
Blacklisted number's latitude.
The address.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZBlacklisted number have been triggered for this times.
Enable the blacklisted number or not.
trueBlacklisted number's description.
OK
NzAwNTUxOTA5NzczMTQ4MTYwError
POST /api/call_queue_blacklisted_numbers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 162
{
"number": "000000",
"level": "FIRST",
"longitude": "",
"latitude": "",
"address": "",
"expire_at": "2020-01-01T00:00:00Z",
"trigger_times": 1,
"enabled": true,
"description": ""
}{
"id": "xxxxxxxx"
}NzAwNTUxOTA5NzczMTQ4MTYwOK
NzAwNTUxOTA5NzczMTQ4MTYwThe blacklisted number, a string value contains a valid telephone number or extension number.
[0-9+]{1,64}Blacklisted number's level:
FIRST: A first level blacklisted number.SECOND: A second level blacklisted number.
Blacklisted number's longitude.
Blacklisted number's latitude.
The address.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZThe RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZThe RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZBlacklisted number have been triggered for this times.
Enable the blacklisted number or not.
trueBlacklisted number's description.
Error
GET /api/call_queue_blacklisted_numbers/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "xxxxxx",
"number": "000000",
"level": "FIRST",
"longitude": "",
"latitude": "",
"address": "",
"created_at": "2020-01-01T00:00:00Z",
"updated_at": "2020-01-01T00:00:00Z",
"expire_at": "2020-01-01T00:00:00Z",
"trigger_times": 1,
"enabled": true,
"description": ""
}NzAwNTUxOTA5NzczMTQ4MTYwThe blacklisted number, a string value contains a valid telephone number or extension number.
[0-9+]{1,64}Blacklisted number's level:
FIRST: A first level blacklisted number.SECOND: A second level blacklisted number.
Blacklisted number's longitude.
Blacklisted number's latitude.
The address.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZBlacklisted number have been triggered for this times.
Enable the blacklisted number or not.
trueBlacklisted number's description.
OK
No content
Error
POST /api/call_queue_blacklisted_numbers/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 162
{
"number": "000000",
"level": "FIRST",
"longitude": "",
"latitude": "",
"address": "",
"expire_at": "2020-01-01T00:00:00Z",
"trigger_times": 1,
"enabled": true,
"description": ""
}No content
NzAwNTUxOTA5NzczMTQ4MTYwNo Content
No content
Invalid item ID
User not found
POST /api/call_queue_blacklisted_numbers/{id}/destroy HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Export a collection of queue blacklisted numbers to file.
OK
Error
GET /api/call_queue_blacklisted_numbers/export HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryRetrieve call queue blacklist prompts configurations.
OK
Whether to enable the the level 1 blacklist.
falseThe name of the file.
The file size in bytes.
0The relative path to file url for file downloading.
/api/blobs/WexWdABcd5D4PDgzTKV3gAAAEu00WcKWhether to enable the the level 2 blacklist.
falseThe name of the file.
The file size in bytes.
0The relative path to file url for file downloading.
/api/blobs/WexWdABcd5D4PDgzTKV3gAAAEu00WcKError
GET /api/call_queue_blacklist_prompts HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"enable_level1": true,
"level1_prompt_file_name": "example",
"level1_prompt_file_size": 100,
"level1_prompt_file_url": "",
"enable_level2": true,
"level2_prompt_file_name": "example",
"level2_prompt_file_size": 100,
"level2_prompt_file_url": ""
}Update call queue blacklist prompts configurations.
Whether to enable the the level 1 blacklist.
falseNzAwNTUxOTA5NzczMTQ4MTYwWhether to enable the the level 2 blacklist.
falseNzAwNTUxOTA5NzczMTQ4MTYwOK
No content
Error
POST /api/call_queue_blacklist_prompts HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 109
{
"enable_level1": true,
"level1_prompt_file_id": "xxxxxx",
"enable_level2": true,
"level2_prompt_file_id": "xxxxxx"
}No content
Retrieve monitor server information.
OK
Enable monitor server or not.
The extension number.
[0-9]{3,64}Error
GET /api/monitor HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"enabled": true,
"extension_number": "101"
}Update monitor server
Enable monitor server or not.
The extension number.
[0-9]{3,64}OK
No content
Error
POST /api/monitor HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"enabled": true,
"extension_number": "101"
}No content
List monitor groups
Use the filter query parameter to retrieve just a subset of a collection.
Use the search query parameter to restrict the results of a request to match a search criterion.
Use the orderby query parameter to specify the sort order of the items returned from server.
The default order is ascending order.
Use the skip query parameter to set the number of items to skip at the start of a collection.
0Use the top query parameter to specify the page size of the result set.
100OK
Total number of resource.
100Error
GET /api/monitor_groups HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 1,
"items": [
{
"id": "xxxxxx",
"name": "example",
"enabled": true,
"description": ""
}
]
}Create a new monitor group.
Name of monitor group
Enable monitor group or not.
Description for monitor group
Created monitor group
NzAwNTUxOTA5NzczMTQ4MTYwError
POST /api/monitor_groups HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"name": "example",
"enabled": true,
"description": ""
}{
"id": "xxxxxxxx"
}Retrieves details of a monitor group.
NzAwNTUxOTA5NzczMTQ4MTYwOK
NzAwNTUxOTA5NzczMTQ4MTYwName of monitor group
Enable monitor group or not.
Description for monitor group
Error
GET /api/monitor_groups/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "xxxxxx",
"name": "example",
"enabled": true,
"description": ""
}Update an monitor group
NzAwNTUxOTA5NzczMTQ4MTYwName of monitor group
Enable monitor group or not.
Description for monitor group
OK
No content
Error
POST /api/monitor_groups/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"name": "example",
"enabled": true,
"description": ""
}No content
Delete a monitor group.
NzAwNTUxOTA5NzczMTQ4MTYwNo Content
No content
Error
POST /api/monitor_groups/{id}/destroy HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Retrieve a collection of monitor group members.
NzAwNTUxOTA5NzczMTQ4MTYwOK
Error
GET /api/monitor_groups/{id}/members HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "xxxxxx",
"name": "example",
"display_name": "example",
"extension_number": "101"
}
]
}Add user member into monitor group.
NzAwNTUxOTA5NzczMTQ4MTYwThe extension number.
[0-9]{3,64}OK
No content
Error
POST /api/monitor_groups/{id}/members/{extension_number} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Delete an monitor group member.
NzAwNTUxOTA5NzczMTQ4MTYwThe extension number.
[0-9]{3,64}No Content
No content
Error
POST /api/monitor_groups/{id}/members/{extension_number}/destroy HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Retrieve a collection of monitor group managers.
NzAwNTUxOTA5NzczMTQ4MTYwOK
Error
GET /api/monitor_groups/{id}/managers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "xxxxxx",
"name": "example",
"display_name": "example",
"extension_number": "101"
}
]
}Add user into monitor group manager list.
NzAwNTUxOTA5NzczMTQ4MTYwThe extension number.
[0-9]{3,64}OK
No content
Error
POST /api/monitor_groups/{id}/managers/{extension_number} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Delete an manager from monitor group manager list.
NzAwNTUxOTA5NzczMTQ4MTYwThe extension number.
[0-9]{3,64}No Content
No content
Error
POST /api/monitor_groups/{id}/managers/{extension_number}/destroy HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?