Vapi

Staff Directory Transfer

Changed on

Put a staff-line caller through to a colleague or department (the staff line's transferTo tool).

The agent names an entry from the {{staffDirectory}} list resolve_inbound_routing injected (app/vapi/staff_directory.py). This maps it back to a person's extension or a TransferDestination and hands the call off the same way /transfer-destination does: stamp it, wait for the spoken announcement, POST the transfer to the control URL.

A name that isn't in the directory is a tool error, so the agent asks the caller again instead of guessing. Every entry is reached by SIP REFER (a person has no number to dial), so the call must have come through the SIP relay.

post/vapi/staff-directory-transfer

Request

Request body

Response

Successful Response

Changes