This guide details how to set up and manage inbound and outbound call functionality within Squads, leveraging AI assistants.Documentation Index
Fetch the complete documentation index at: https://docs.vapi.ai/llms.txt
Use this file to discover all available pages before exploring further.
Key Concepts
- Transient Assistant: A temporary assistant configuration passed directly in the request payload.
- Assistant ID: A unique identifier referring to a pre-existing assistant configuration.
When using Assistant IDs, ensure the
name property in the payload matches the associated assistant’s name accurately.Inbound Call Configuration
When your server receives a request of typeassistant-request, respond with a JSON payload structured as follows:
- The first
membersentry is a transient assistant (full configuration provided). - The second
membersentry uses an Assistant ID. assistantDestinationsdefines how to transfer the call to another assistant.
Outbound Call Configuration
To initiate an outbound call, send a POST request to the API endpoint /call/phone with a JSON payload structured as follows:customer.numberis the phone number to call.phoneNumberIdis a unique identifier for the phone number (obtain this from your provider).

