end-of-call-report payload and turns its transcript into a conversation with events for each caller and assistant exchange. Vapi already provides the transcript, so Agnost AI does not run speech-to-text again.
Configure the webhook
Configure the Vapi assistant or phone number server with:Required data
The report must contain:message.typeequal toend-of-call-report.- A stable call ID in
message.call.id. - The caller number in
message.call.customer.numberormessage.customer.number. - Structured turns in
message.artifact.messages, or a transcript inmessage.artifact.transcriptormessage.transcript.
AI, Assistant, and Bot transcript labels map to the agent; User, Customer, and Caller map to the user.
Repeated deliveries map to the same conversation but can duplicate its events. Avoid manually replaying a successful report; retry only reports that received a non-2xx response.
Response
startedAt value.
Troubleshooting
422for a missing header: addX-Org-Idto the Vapi server configuration or forwarded request.400for the organization ID: confirmX-Org-Idis a valid UUID.400for the event type: enableend-of-call-reportin Vapi’s server messages.400for identity: ensuremessage.call.idand the caller number are present.422for an empty transcript: ensure Vapi transcript artifacts are enabled for the call.
Next steps
- Conversations: review complete Vapi calls.
- Events: inspect each caller and assistant exchange.
- Intents: understand why callers contacted the agent.