End of call event only sent via Web-Call (Test)
# support
v
Thanks for the details! To help narrow this down: When you trigger the call via the API, can you confirm if the "serverMessages" setting for your assistant includes "end-of-call-report"? Sometimes, if this event isn't enabled in the assistant's configuration, the webhook won't be sent for API-initiated calls. If possible, please check your assistant's configuration and let me know if "end-of-call-report" is listed under "serverMessages". This will help determine if the issue is with event settings or something else. Looking forward to your reply! Sources: - [Vapi Assistant Webhook Configuration](https://docs.vapi.ai/api-reference/assistants/update) - [Webhook Troubleshooting Guide](https://docs.vapi.ai/cli/webhook)
Suggestion: Double-check that your assistant's webhook URL is set correctly and publicly accessible. According to the documentation, the assistant-level
server.url
should take precedence over org-level settings, but if it's not reachable or misconfigured, the system may fall back to the org-level webhook.
Copy code
js
// Example assistant config snippet
server: {
  url: "https://your-assistant-webhook-url.com",
  timeoutSeconds: 20
},
serverMessages: ["end-of-call-report", "conversation-update"]
Make sure the URL is correct and not blocked by firewalls or authentication. [See webhook precedence details](https://docs.vapi.ai/api-reference/assistants/update) Source: - [Vapi Assistant Webhook Configuration](https://docs.vapi.ai/api-reference/assistants/update)
c
Hi CloudMaker, If you're looking to programmatically end a call or handle specific call-end reasons, here's a brief overview of how you can achieve that with our platform: 1. **End Call Programmatically**: You can now send an
end-call
message type within
ClientInboundMessage
to programmatically end a call. Set the
type
property to
"end-call"
. More details can be found in the [January 14, 2025 changelog](https://docs.vapi.ai/changelog/2025/1/14). 2. **Handling Call End Reasons**: - For general call-end reasons, see the complete list in the [ended reason guide](https://docs.vapi.ai/calls/call-ended-reason). - Specific to SIP inbound calls, there are new ended reason codes introduced for when a caller hangs up before the call connects or when there is a connection error. Refer to the [June 7, 2025 changelog](https://docs.vapi.ai/changelog/2025/6/7). - For handling when the Eleven Labs voice service is disabled by the owner, see details in the [June 9, 2025 update](https://docs.vapi.ai/changelog/2025/6/9). These features allow you to have greater control and handling of call processes in your application.
4 Views