start-of-call-report
# support
y
i looking for something like this event but i cant findit i need when the call star recive info into my webhook these not exist_
v
Vapi does not have a "start-of-call-report" event, but you can detect when a call starts by listening for the
status-update
event with
"status": "in-progress"
in your webhook. Here’s an example payload:
Copy code
json
{
  "message": {
    "type": "status-update",
    "call": { /* Call Object */ },
    "status": "in-progress"
  }
}
Set your webhook to handle this event to trigger any logic you need at the start of a call. Source: - [Vapi documentation on server events](https://docs.vapi.ai/server-url/events)
Vapi does not have a "start-of-call-report" event, but you can detect when a call starts by listening for the
status-update
event with
"status": "in-progress"
in your webhook. Here’s an example payload:
Copy code
json
{
  "message": {
    "type": "status-update",
    "call": { /* Call Object */ },
    "status": "in-progress"
  }
}
Set your webhook to handle this event to trigger any logic you need at the start of a call. Source: - [Vapi documentation on server events](https://docs.vapi.ai/server-url/events)
Vapi does not have a "start-of-call-report" event, but you can detect when a call starts by listening for the
status-update
event with
"status": "in-progress"
in your webhook. Here’s an example payload:
Copy code
json
{
  "message": {
    "type": "status-update",
    "call": { /* Call Object */ },
    "status": "in-progress"
  }
}
Set your webhook to handle this event to trigger any logic you need at the start of a call. Source: - [Vapi documentation on server events](https://docs.vapi.ai/server-url/events)
y
hi thanks that work for me, now i have anoter question, how i can answaer to that webhook, becouse im trying to make someting instantly when call is establish and respond with the response. so i use { "message": { "type": "status-update", "call": { /* Call Object */ }, "status": "in-progress" } } but i dont know how respond to that webhook
s
cc: @Kings_big💫
k
Use a Server URL webhook to receive status-update events with "status": "in-progress" when a call starts, since there’s no direct “call start” event in the GUI.
y
yea thas work for me, now how i can respond to that webhook?
@Kings_big💫
k
Set up a server endpoint to receive Vapi’s "status": "in-progress" webhook, parse the request, run your logic, such as logging or DB update, and respond with HTTP 200 to acknowledge it.
y
And instead of an HTTP 200, couldn't it return information? Something similar to the tools format??
k
Yes, instead of just HTTP 200, your server can return structured JSON with tool call results like toolCallId and result for tool-related webhooks, while simple events usually just need an HTTP 200 response.
y
you can give and example of a json of response of server url like status update?
@Kings_big💫
k
Your server should return a structured JSON like { "results": [{ "toolCallId": "xyz", "result": "your result" }] }, while for simple status updates, call ended, an HTTP 200 response is usually sufficient.