Wahab1198#
11/08/2024, 5:17 PMVapi
11/08/2024, 5:17 PMend-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:
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.nuru
11/24/2024, 7:30 PM