Get notification sound file
curl --request GET \
--url https://your-instance.example.com/api/webhook/notification-soundimport requests
url = "https://your-instance.example.com/api/webhook/notification-sound"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://your-instance.example.com/api/webhook/notification-sound', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your-instance.example.com/api/webhook/notification-sound",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://your-instance.example.com/api/webhook/notification-sound"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://your-instance.example.com/api/webhook/notification-sound")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-instance.example.com/api/webhook/notification-sound")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body"<binary: MP3 audio stream — Content-Type: audio/mpeg, ~12 KB>"{
"error": "Webchat configuration not found"
}Webhooks
Get notification sound file
Public endpoint serving the default notification MP3 used by the webchat widget and the agent client to chirp on new messages. Falls back to an inline base64 beep when the static file is unreachable so the client never sees a broken sound URL.
GET
/
api
/
webhook
/
notification-sound
Get notification sound file
curl --request GET \
--url https://your-instance.example.com/api/webhook/notification-soundimport requests
url = "https://your-instance.example.com/api/webhook/notification-sound"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://your-instance.example.com/api/webhook/notification-sound', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your-instance.example.com/api/webhook/notification-sound",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://your-instance.example.com/api/webhook/notification-sound"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://your-instance.example.com/api/webhook/notification-sound")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-instance.example.com/api/webhook/notification-sound")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body"<binary: MP3 audio stream — Content-Type: audio/mpeg, ~12 KB>"{
"error": "Webchat configuration not found"
}Response
MP3 audio file returned with Content-Type: audio/mpeg. When the static asset is unreachable the endpoint serves an inline base64-encoded fallback beep — the response is still a valid MP3 but very short (~1 KB).
Binary MP3 stream. Roughly 12 KB for the default sound; ~1 KB for the inline fallback beep.