const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/misc/background-sounds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://blackbox.dasha.ai/api/v1/misc/background-sounds \
--header 'Authorization: Bearer <token>'import requests
url = "https://blackbox.dasha.ai/api/v1/misc/background-sounds"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"uri": "<string>"
}
]
}List predefined background sounds
Retrieves the list of predefined background sounds that can be configured for agents to play during calls. Background sounds help create a more natural call environment by adding ambient audio.
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/misc/background-sounds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://blackbox.dasha.ai/api/v1/misc/background-sounds \
--header 'Authorization: Bearer <token>'import requests
url = "https://blackbox.dasha.ai/api/v1/misc/background-sounds"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"uri": "<string>"
}
]
}Response
Returns predefined background sounds successfully
List of predefined background sounds available for creating ambient atmosphere during agent calls. These sounds can be configured in the agent's ambient noise feature to make conversations sound more natural by adding environmental audio.
Available predefined background sounds with their identifiers, names, descriptions, and URIs. Use the URI values when configuring the ambient noise feature for agents. Agents can also use custom uploaded media files in addition to these predefined sounds.
Show child attributes
Show child attributes
Was this page helpful?