Update VoiceLink call routing
Updates a call-routing record in VoiceLink. The VoiceLink update REPLACES the routing record, so resend every field you want kept — for_inbound_call, for_outbound_call, and status are all required on update, including the current inbound values if you only intend to change outbound routing. For the common outbound case, prefer POST /voicelink/call-ready, which preserves existing inbound settings automatically. This endpoint never purchases or renews DIDs, runs KYC, allocates wallet or credit, or deletes local Vocobase data.
Authorizations
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
Path Parameters
VoiceLink call-routing record ID.
x >= 1Body
VoiceLink routing update REPLACES the record — resend every field you want kept, including current inbound values when you only intend to change outbound routing.
VoiceLink inbound mode: 1 mobile, 2 SIP, 3 WebSocket bot. Resend the current value to preserve inbound routing.
x >= 0VoiceLink outbound mode: 2 SIP, 3 WebSocket bot, 4 only-answer.
x >= 0Routing status: 1 active, 0 inactive.
0, 1 Optional unless multiple active VoiceLink connections exist. connectionId is accepted for backwards compatibility.
VoiceLink bot ID when for_inbound_call is 3.
x >= 1VoiceLink SIP trunk ID when for_inbound_call is 2.
x >= 1VoiceLink bot ID when for_outbound_call is 3.
x >= 1VoiceLink SIP trunk ID when for_outbound_call is 2.
x >= 1