w
how to get End of Call Report with server url and recevie it in make @Vapi
v
@Wahab1198# To receive an End of Call Report at your server URL using VAPI, you'll need to configure your server to listen for the
end-of-call-report
event. Here's how you can set it up: 1. Make sure your server is set up to handle incoming HTTP POST requests at the URL you want to use. 2. Configure the
serverMessages
parameter to include the
end-of-call-report
event when setting up your VAPI session. This will ensure that your server receives a message when the call ends. Here's an example of how you might configure the
serverMessages
parameter:
Copy code
json
{
  "serverMessages": ["end-of-call-report", "status-update", "hang", "tool-calls"]
}
3. In your server's code, set up an endpoint that matches the URL you provided. This endpoint should be able to parse the incoming POST request to handle the End of Call Report data. 4. When you receive the End of Call Report, you can process it as needed in your application. If you need to set this up now, please provide me with the server URL you'd like to use, and I can help you configure the
serverMessages
parameter accordingly. If you have any specific requirements for the data you want to receive in the report, let me know so I can assist you further.
n
Hi guys when I define a tool for function calling, can i define the schema of the post request sent to the server url? @supportr
2 Views