Voice

Vapi Save

Vapi end-of-call webhook: extract memories from the transcript.

Only processes end-of-call-report events. Vapi streams MANY events to the same server URL — status-update, conversation-update, partial transcript chunks (message.type == "transcript", transcriptType: partial), speech-update, hang, etc. Without a type guard, the save endpoint would re-run extraction on every partial transcript chunk (dozens of times per call), burning quota and creating duplicate memory entries. The guard makes all other events benign no-ops.

For end-of-call-report the final transcript lives at message.transcript AND message.artifact.transcript per https://github.com/VapiAI/docs/blob/main/fern/server-url/events.mdx. We read whichever is present.

post/v1/voice/vapi/save

Request

  • Base URL: https://mengram.io (the document declares no server; this is the origin it was published from)
  • URL: https://mengram.io/v1/voice/vapi/save
  • Auth: none declared. Required headers: authorization

Headers

authorizationstring required

Request body

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.