Skip to main content
POST
Make a VoiceLink DID call-ready

Authorizations

Authorization
string
header
required

API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.

Body

application/json

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.

did_id
integer
required

VoiceLink DID ID from /voicelink/dids/purchased.

connection_id
string<uuid>

Optional unless multiple active VoiceLink connections exist.

did_number
string

Purchased DID number. Used when did_id is not available.

client_id
integer

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.

Required range: x >= 1
agent_id
string<uuid>

Optional Vocobase agent ID to assign to the imported local PhoneNumber row. Ownership is enforced by Vocobase.

bot_name
string

Optional name to use if a new VoiceLink WebSocket bot must be created.

websocket_url
string<uri>

Optional WebSocket URL override for bot creation. Omit to use the backend default.

Response

Call-ready workflow result.

success
boolean
required
data
object
required