Make a VoiceLink DID call-ready
Runs the safe outbound call-ready workflow for a purchased VoiceLink DID: import the DID into Vocobase if missing, optionally map an unmapped DID to an explicitly supplied client_id, ensure an active VoiceLink WebSocket bot for the mapped client, and ensure outbound routing points to that bot. Existing inbound routing is preserved on routing updates. DID mapping happens only with an explicit client_id and only when the DID is currently unmapped — a DID mapped to a different client is never re-mapped, and clients are never auto-created. This endpoint does not purchase, renew, run KYC, or allocate wallet credit. Pass connection_id when the partner has more than one active VoiceLink connection.
Authorizations
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
Body
- Option 1
- Option 2
Request for the safe outbound call-ready workflow. Provide either did_id or did_number. connection_id is optional unless multiple active VoiceLink connections exist.
VoiceLink DID ID from /voicelink/dids/purchased.
Optional unless multiple active VoiceLink connections exist.
Purchased DID number. Used when did_id is not available.
Optional VoiceLink client ID. Maps the DID to this client only when the DID is currently unmapped — a DID already mapped to a different client is never re-mapped, and clients are never auto-created. Composer-initiated mapping uses call_recording=0.
x >= 1Optional Vocobase agent ID to assign to the imported local PhoneNumber row. Ownership is enforced by Vocobase.
Optional name to use if a new VoiceLink WebSocket bot must be created.
Optional WebSocket URL override for bot creation. Omit to use the backend default.