Call queue blacklist prompts
Retrieve call queue blacklist prompts configurations.
Authorizations
Responses
200
OK
application/json
4XX
Error
get
GET /api/call_queue_blacklist_prompts HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"enable_level1": false,
"level1_prompt_file_name": "text",
"level1_prompt_file_size": 0,
"level1_prompt_file_url": "/api/blobs/WexWdABcd5D4PDgzTKV3gAAAEu00WcK",
"enable_level2": false,
"level2_prompt_file_name": "text",
"level2_prompt_file_size": 0,
"level2_prompt_file_url": "/api/blobs/WexWdABcd5D4PDgzTKV3gAAAEu00WcK"
}
Update call queue blacklist prompts configurations.
Authorizations
Body
enable_level1booleanOptionalDefault:
Whether to enable the the level 1 blacklist.
false
level1_prompt_file_idall ofOptional
The unique ID of the file.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
enable_level2booleanOptionalDefault:
Whether to enable the the level 2 blacklist.
false
level2_prompt_file_idall ofOptional
The unique ID of the file.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
4XX
Error
post
POST /api/call_queue_blacklist_prompts HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 147
{
"enable_level1": false,
"level1_prompt_file_id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"enable_level2": false,
"level2_prompt_file_id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}
No content