Skip to main content
PATCH
Update Advanced Config

Headers

string
required
Your API key for authentication.

Body

string
required
The phone number to update configuration for. Must be in E.164 format.
string
required
The direction to update: "inbound" or "outbound".
object
Failover configuration:
  • enabled (boolean) — Enable/disable failover
  • endpoints (array) — Failover SIP servers, each with host, port, transport, and priority
  • triggers (array) — Conditions that trigger failover: "unreachable", "auth_failure", "timeout"
  • failback (string) — "auto" or "manual"
object
Codec configuration:
  • codecs (array) — Ordered list of codec names: "PCMU", "PCMA", "G.729", "Opus", "G.722"
  • transcode (boolean) — Enable transcoding between codecs
object
Alert configuration:
  • enabled (boolean) — Enable/disable alerts
  • thresholdsunreachable_minutes (number), failure_rate_percent (number), failure_rate_window_minutes (number), response_time_ms (number)
  • channelsemail (boolean), sms (boolean), webhook (string, URL)
Example Request

Docs for agents: llms.txt