Vapi
Staff Directory Transfer
Changed onPut 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
- Base URLhttps://api.openintake.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info