Implement a webhook that captures call events so that you can observe the lifecycle of the call in the console.
We won't use the request data in this tutorial, so your webhook should immediately return an
HTTP 200 response (
@app.route("/webhooks/event", methods=["POST"]) def events(): return "200"
Vonage makes a
POST request to this endpoint every time the call status changes.
Connect to a WebSocketConnect an inbound call to a WebSocket with the Voice API