Jonas
08/12/2025, 1:40 PMVapi Support Bot
08/12/2025, 1:41 PMjson
{
"hooks": [{
"on": "call.ending",
"filters": [{
"type": "oneOf",
"key": "call.endedReason",
"oneOf": ["pipeline-error"]
}],
"do": [{
"type": "transfer",
"destination": {
"type": "number",
"number": "+1234567890"
}
}]
}]
}
Replace +1234567890 with your fallback number. This will transfer the call if a pipeline error occurs, which is the closest supported approach to your use case according to the documentation.
Note: Directly returning a transfer instruction in the assistant-request response for transient assistants is not documented as supported.
[See more in the documentation.](https://docs.vapi.ai/assistants/assistant-hooks#example-transfer-on-pipeline-error)
Source:
- [Assistant hooks](https://docs.vapi.ai/assistants/assistant-hooks#example-transfer-on-pipeline-error)Jonas
08/13/2025, 11:47 AMChiranjeet Mishra
08/13/2025, 4:49 PMChiranjeet Mishra
08/13/2025, 4:51 PM