Hosted Walkthrough
Setting up webhooks
Listen to events on your phone calls
You can set up webhooks on agents so that you can listen to events in realtime or for post-call automation.
Adding Webhooks
To get data from the agent during a call, you can add a webhook and assign it to listen for specific events. Let’s send a POST request to “https://example.com” every time a call ends.
EventTypes
The full list of EventType
is listed here:
EVENT_MESSAGE
: A message in the conversation.EVENT_ACTION
: An action taken during the conversation.EVENT_PHONE_CALL_CONNECTED
: Indicating the phone call has connected.EVENT_PHONE_CALL_ENDED
: Indicating the phone call has ended.EVENT_TRANSCRIPT
: The transcription of the entire conversation.EVENT_RECORDING
: The recording of the conversation has become available.