Custom end-call reasons
You can now define custom conditions that trigger automatic call termination using the new end_call_reasons field on the Agent schema. When the AI agent detects one of these conditions during a conversation, it says a brief farewell and ends the call. This works with both simple prompt and Flow Designer agents.
Updated endpoints:
New response fields:
When a call ends due to a custom end-call reason, the post-call webhook response includes:
For more details, see the End-Call Reasons documentation.