Update Advanced Config
SIP Trunks
Update Advanced Config
Update advanced SIP configuration including failover, codecs, and alerts.
PATCH
Update Advanced Config
Documentation Index
Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Your API key for authentication.
Body
The phone number to update configuration for. Must be in E.164 format.
The direction to update:
"inbound" or "outbound".Failover configuration:
enabled(boolean) — Enable/disable failoverendpoints(array) — Failover SIP servers, each withhost,port,transport, andprioritytriggers(array) — Conditions that trigger failover:"unreachable","auth_failure","timeout"failback(string) —"auto"or"manual"
Codec configuration:
codecs(array) — Ordered list of codec names:"PCMU","PCMA","G.729","Opus","G.722"transcode(boolean) — Enable transcoding between codecs
Alert configuration:
enabled(boolean) — Enable/disable alertsthresholds—unreachable_minutes(number),failure_rate_percent(number),failure_rate_window_minutes(number),response_time_ms(number)channels—email(boolean),sms(boolean),webhook(string, URL)
Example Request
Docs for agents: llms.txt