Learn about different events that can be sent to a Server URL.
POST
requests with the following body:
messages
. Here’s an example of what the assistant might look like:
async: true
parameter in your assistant’s
function configuration. This will prevent the assistant from waiting for a response from your
server.assistantId
, Vapi will attempt to retrieve the assistant from your server.
POST
requests to the Server URL with the following body:
in-progress
: The call has started. - forwarding
: The call is about to be forwarded to
forwardingPhoneNumber
. - ended
: The call has ended.POST
request to the Server URL with the following body:
endedReason
can be any of the options defined on the Call Object.
POST
requests to the Server URL with the following body: