curl --request POST \
--url https://app.famulor.io/api/v1/assistants/{id}/greeting-audio \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>"
}
'import requests
url = "https://app.famulor.io/api/v1/assistants/{id}/greeting-audio"
payload = { "url": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({url: '<string>'})
};
fetch('https://app.famulor.io/api/v1/assistants/{id}/greeting-audio', 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://app.famulor.io/api/v1/assistants/{id}/greeting-audio",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.famulor.io/api/v1/assistants/{id}/greeting-audio"
payload := strings.NewReader("{\n \"url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.famulor.io/api/v1/assistants/{id}/greeting-audio")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.famulor.io/api/v1/assistants/{id}/greeting-audio")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"assistant": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"is_active": true,
"system_prompt": "<string>",
"mode": "pipeline",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"tags": [
"<string>"
],
"compliance_status": "clear",
"compliance_blocked_at": "2023-11-07T05:31:56Z",
"compliance_last_scan_at": "2023-11-07T05:31:56Z",
"compliance_last_score": 50,
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"response_by_channel": {
"version": 1,
"overrides": {}
},
"realtime_provider": "<string>",
"realtime_model": "<string>",
"realtime_voice": "<string>",
"llm_provider": "openai",
"llm_model": "<string>",
"half_cascade_provider": "<string>",
"half_cascade_model": "<string>",
"llm_temperature": 123,
"stt_provider": "deepgram",
"stt_model": "<string>",
"stt_language": "<string>",
"stt_keyterms": [
"<string>"
],
"stt_keyterm_detection_enabled": true,
"tts_provider": "cartesia",
"tts_model": "<string>",
"tts_voice": "<string>",
"tts_speed": 123,
"tts_emotion": [
"calm"
],
"tts_style_prompt": "<string>",
"elevenlabs_stability": 0.5,
"elevenlabs_similarity": 0.5,
"elevenlabs_style": 0.5,
"elevenlabs_speaker_boost": true,
"turn_detection": "multilingual_model",
"vad_min_silence_ms": 123,
"allow_interruptions": true,
"min_interruption_duration_ms": 123,
"noise_cancellation": "bvc",
"preemptive_generation": true,
"max_tool_steps": 123,
"avatar_url": "<string>",
"first_message": "<string>",
"greeting_mode": "agent_speaks_first",
"greeting_allow_interruptions": true,
"ai_speaks_after_silence": true,
"silence_greeting_mode": "static",
"silence_greeting_message": "<string>",
"ai_entry_timeout_sec": 10,
"pre_call": {
"enabled": false,
"agent_name": "<string>",
"company_name": "<string>",
"reason": "<string>"
},
"flow_json": {},
"recording_enabled": true,
"max_call_duration_sec": 930,
"inbound_ringing_timeout_sec": 75,
"outbound_ringing_timeout_sec": 47,
"idle_timeout_sec": 123,
"transcription_timeout_sec": 15.5,
"knowledgebase_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"knowledge_gap_mode": "draft_for_review",
"webhook_url": "<string>",
"webhook_timeout_sec": 5,
"webhook_retries": 2,
"webhook_delivery_mode": "none",
"automation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"background_audio": {},
"adaptive_interruptions": true,
"realtime_turn_mode": "server_vad",
"realtime_eagerness": "auto",
"idle_messages": [
"<string>"
],
"idle_max_rounds": 123,
"fallback_config": {},
"pronunciation_map": {},
"tts_filter_markdown": true,
"tts_filter_emoji": true,
"consent_enabled": true,
"consent_text": "<string>",
"consent_mode": "<string>",
"consent_decline_action": "<string>",
"consent_covers_recording": true,
"consent_covers_memory": true,
"guardrails": {},
"language_voices": {},
"auto_language_switch": true,
"output_volume": 123,
"speaking_rate": 123,
"text_only_enabled": true,
"memory_enabled": true,
"memory_mode": "inherit",
"memory_scope": "workspace",
"memory_read_channels": [
"voice"
],
"memory_write_channels": [
"voice"
],
"memory_categories": [
"identity"
],
"redact_pii": true,
"pii_redaction": {
"entities": [
"<string>"
],
"custom": [
{
"name": "<string>",
"pattern": "<string>"
}
]
},
"analysis_config": {
"sentiment": true,
"success": {
"enabled": false,
"criteria": "<string>"
},
"fields": [
{
"name": "<string>",
"type": "string",
"description": "<string>",
"choices": [
"<string>"
],
"required": false
}
]
},
"qa_scorecard_config": {
"enabled": false,
"pass_threshold": 70,
"criteria": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"weight": 1,
"source": "llm"
}
]
},
"timezone": "<string>",
"primary_language": "<string>",
"secondary_languages": [
"<string>"
],
"variables": [
{
"key": "<string>",
"label": "<string>",
"description": "<string>",
"default_value": "<string>",
"example": "<string>",
"source": "manual"
}
],
"variable_webhook_url": "<string>",
"builtin_tools": [
{
"type": "send_sms",
"description": "Text the caller a booking confirmation.",
"sms_to_mode": "caller"
}
]
},
"greeting_audio_url": "<string>"
}{
"error": {
"code": "unauthorized",
"message": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>"
}
}Set audio first message
Uploads an audio greeting played verbatim at call start instead of TTS. Send JSON { "url": "https://…/greeting.mp3" } (downloaded server-side) or multipart/form-data with a file field. Formats mp3/wav/ogg/m4a, max 5 MB. first_message remains the transcript / chat / voicemail fallback.
curl --request POST \
--url https://app.famulor.io/api/v1/assistants/{id}/greeting-audio \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>"
}
'import requests
url = "https://app.famulor.io/api/v1/assistants/{id}/greeting-audio"
payload = { "url": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({url: '<string>'})
};
fetch('https://app.famulor.io/api/v1/assistants/{id}/greeting-audio', 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://app.famulor.io/api/v1/assistants/{id}/greeting-audio",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.famulor.io/api/v1/assistants/{id}/greeting-audio"
payload := strings.NewReader("{\n \"url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.famulor.io/api/v1/assistants/{id}/greeting-audio")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.famulor.io/api/v1/assistants/{id}/greeting-audio")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"assistant": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"is_active": true,
"system_prompt": "<string>",
"mode": "pipeline",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"tags": [
"<string>"
],
"compliance_status": "clear",
"compliance_blocked_at": "2023-11-07T05:31:56Z",
"compliance_last_scan_at": "2023-11-07T05:31:56Z",
"compliance_last_score": 50,
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"response_by_channel": {
"version": 1,
"overrides": {}
},
"realtime_provider": "<string>",
"realtime_model": "<string>",
"realtime_voice": "<string>",
"llm_provider": "openai",
"llm_model": "<string>",
"half_cascade_provider": "<string>",
"half_cascade_model": "<string>",
"llm_temperature": 123,
"stt_provider": "deepgram",
"stt_model": "<string>",
"stt_language": "<string>",
"stt_keyterms": [
"<string>"
],
"stt_keyterm_detection_enabled": true,
"tts_provider": "cartesia",
"tts_model": "<string>",
"tts_voice": "<string>",
"tts_speed": 123,
"tts_emotion": [
"calm"
],
"tts_style_prompt": "<string>",
"elevenlabs_stability": 0.5,
"elevenlabs_similarity": 0.5,
"elevenlabs_style": 0.5,
"elevenlabs_speaker_boost": true,
"turn_detection": "multilingual_model",
"vad_min_silence_ms": 123,
"allow_interruptions": true,
"min_interruption_duration_ms": 123,
"noise_cancellation": "bvc",
"preemptive_generation": true,
"max_tool_steps": 123,
"avatar_url": "<string>",
"first_message": "<string>",
"greeting_mode": "agent_speaks_first",
"greeting_allow_interruptions": true,
"ai_speaks_after_silence": true,
"silence_greeting_mode": "static",
"silence_greeting_message": "<string>",
"ai_entry_timeout_sec": 10,
"pre_call": {
"enabled": false,
"agent_name": "<string>",
"company_name": "<string>",
"reason": "<string>"
},
"flow_json": {},
"recording_enabled": true,
"max_call_duration_sec": 930,
"inbound_ringing_timeout_sec": 75,
"outbound_ringing_timeout_sec": 47,
"idle_timeout_sec": 123,
"transcription_timeout_sec": 15.5,
"knowledgebase_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"knowledge_gap_mode": "draft_for_review",
"webhook_url": "<string>",
"webhook_timeout_sec": 5,
"webhook_retries": 2,
"webhook_delivery_mode": "none",
"automation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"background_audio": {},
"adaptive_interruptions": true,
"realtime_turn_mode": "server_vad",
"realtime_eagerness": "auto",
"idle_messages": [
"<string>"
],
"idle_max_rounds": 123,
"fallback_config": {},
"pronunciation_map": {},
"tts_filter_markdown": true,
"tts_filter_emoji": true,
"consent_enabled": true,
"consent_text": "<string>",
"consent_mode": "<string>",
"consent_decline_action": "<string>",
"consent_covers_recording": true,
"consent_covers_memory": true,
"guardrails": {},
"language_voices": {},
"auto_language_switch": true,
"output_volume": 123,
"speaking_rate": 123,
"text_only_enabled": true,
"memory_enabled": true,
"memory_mode": "inherit",
"memory_scope": "workspace",
"memory_read_channels": [
"voice"
],
"memory_write_channels": [
"voice"
],
"memory_categories": [
"identity"
],
"redact_pii": true,
"pii_redaction": {
"entities": [
"<string>"
],
"custom": [
{
"name": "<string>",
"pattern": "<string>"
}
]
},
"analysis_config": {
"sentiment": true,
"success": {
"enabled": false,
"criteria": "<string>"
},
"fields": [
{
"name": "<string>",
"type": "string",
"description": "<string>",
"choices": [
"<string>"
],
"required": false
}
]
},
"qa_scorecard_config": {
"enabled": false,
"pass_threshold": 70,
"criteria": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"weight": 1,
"source": "llm"
}
]
},
"timezone": "<string>",
"primary_language": "<string>",
"secondary_languages": [
"<string>"
],
"variables": [
{
"key": "<string>",
"label": "<string>",
"description": "<string>",
"default_value": "<string>",
"example": "<string>",
"source": "manual"
}
],
"variable_webhook_url": "<string>",
"builtin_tools": [
{
"type": "send_sms",
"description": "Text the caller a booking confirmation.",
"sms_to_mode": "caller"
}
]
},
"greeting_audio_url": "<string>"
}{
"error": {
"code": "unauthorized",
"message": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>"
}
}Authorizations
API key (fam_..., created under Settings → API Keys) or an OAuth 2.0 access token (fam_at_...). Keys can be restricted to scopes such as assistants:read, calls:write, campaigns:write, automations:read, dashboards:read, dashboards:write, leads:write, segments:write, loop:read, loop:write, phone_numbers:write, sip_trunks:write, knowledge:write, voices:read, billing:read, settings:write, platform:read, platform:write; a *:write scope implies the matching *:read. Automation and dashboard endpoints also accept the legacy calls:* scope. Keys without scope restrictions have full access.
Path Parameters
Assistant id.
Body
Public http(s) URL of the audio file to download.
Response
Audio greeting stored.
A voice assistant configuration. Nullable model overrides are independent per engine: pipeline uses llm_*, realtime uses realtime_*, and half-cascade uses half_cascade_* for its text-capable realtime input plus tts_* for output.
Show child attributes
Show child attributes
Short-lived signed playback URL (1 h).