yossi7096
03/30/2025, 6:12 PMVapi Support Bot
03/30/2025, 6:13 PMmessage
property to an empty string in the transferTool
object
javascript
const transferTool = {
type: 'transferCall',
destinations: [{
type: 'assistant',
assistantName: 'Squad Member 2',
transferMode: 'rolling-history',
message: '' // Silent transfer
}]
};
According to [this Discord thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341910696182681613), setting the message
property to an empty string will result in a silent transfer.
### Option 2: Set the request-start
message to an empty string
The "Transferring the call now" message is likely coming from the request-start
message inside the tool. According to [this Discord thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334191012620402730), you can set this to an empty string:
curl --location --request PATCH 'https://api.vapi.ai/tool/toolId' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data '{
"messages": [
{
"type": "request-start",
"content": ""
}
]
}'
### Option 3: Configure Silent Transfers in the destination assistant
According to the [Silent Transfers documentation](https://docs.vapi.ai/squads/silent-transfers), you should:
1. Set the destination assistant's firstMessage
to an empty string ("")
2. Ensure the firstMessageMode
is set to assistant-speaks-first-with-model-generated-message
3. Include proper instructions in both assistants' prompts
### Option 4: Use the transferPlan
with an empty message
For warm transfers, you can set the mode
to "warm-transfer-with-message"
and provide an empty message in the message
property:
```json
"transferPlan": {
"mode": "warm-transfer-with-message",Vapi Support Bot
03/30/2025, 6:13 PMKyle
03/31/2025, 9:45 AM