Call queue blacklist prompts

Retrieve call queue blacklist prompts configurations

get

Retrieve call queue blacklist prompts configurations.

Authorizations
Responses
200
OK
application/json
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

post

Update call queue blacklist prompts configurations.

Authorizations
Body
enable_level1booleanOptional

Whether to enable the the level 1 blacklist.

Default: false
level1_prompt_file_idall ofOptional

The unique ID of the file.

stringOptional

The unique ID of the resource.

Example: NzAwNTUxOTA5NzczMTQ4MTYw
enable_level2booleanOptional

Whether to enable the the level 2 blacklist.

Default: false
level2_prompt_file_idall ofOptional

The unique ID of the file.

stringOptional

The unique ID of the resource.

Example: NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
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