The events URL  is a location on the web where we make a POST request after the call session has ended. 

The call can end for reasons such as a hang-up or unclear instructions. 

The POST request made to the events URL contains details of all the events that occurred during the call. 

In the events callback, you may have a script that handles the next series of events that happen after a call ends such as saving the events in the db or initiating another call etc.

Here's a sample of what the details look like: 

callSessionState=Active&direction=Outbound&callerCountryCode=254&callerNumber=%2B254705336634&destinationNumber=%2B254711082369&sessionId=ATVId_0496051a90c295c4fa62fac955555a6b&callStartTime=None&isActive=1

If you run into any issues with either please reach out to us at support@africastalking.com.

Did this answer your question?