Call Management
Transfer a Call
Redirect an active call to a new XML instruction URL mid-session using Vobiz - transfer the A-leg, B-leg, or full session for dynamic IVR call routing.
POST
Transfer a Call
Authentication required:
X-Auth-ID- Your account Auth IDX-Auth-Token- Your account Auth TokenContent-Type: application/json
The call must be in an active state (in-progress) to be transferred. You can transfer both call legs independently using their respective UUIDs.
Path parameters
string
required
Your Vobiz account ID, for example
MA_XXXXXXXX.string
required
Your Vobiz account ID. Use the same value in
X-Auth-ID.string
required
Unique identifier of the call to transfer.
Request Parameters
string
default:"aleg"
Which leg(s) of the call to transfer. One of
aleg (caller), bleg (callee), or both.string
URL to transfer the A leg (caller) to. Must return valid XML with call instructions.
string
default:"POST"
HTTP method for
aleg_url. One of GET or POST.string
URL to transfer the B leg (callee) to. Must return valid XML with call instructions.
string
default:"POST"
HTTP method for
bleg_url. One of GET or POST.Pass the
call_uuid of the leg you are transferring in the path. The legs value tells Vobiz which side of that call to redirect. When transferring aleg, the B-leg keeps running its current flow (and vice versa) - use both to redirect the whole session at once.Response
Returns a success message confirming the call transfer request has been initiated.Response - 202 Accepted
Response Fields
Error responses
This action only works on calls in the
in-progress state. Queued or completed calls return 404.Example Request
Use Cases
- Implement call forwarding based on IVR input
- Route calls to different departments dynamically
- Play announcements or collect additional information mid-call
- Implement warm transfer scenarios with hold music
- Change call behavior based on external triggers or events
XML Response Example: Your transfer URL should return XML instructions like: