Handle Call Events

The Voice provider's onCallEvent function allows you to handle call event webhooks using the Voice API.

Method Signature

Types

CallEventParams:

  • vapiID | conversationID: (Optional String) Use either a Voice API call's UUID or a conversation's ID.
  • callback: (String) The route to be called for an incoming event.

Handle Call Webhooks