spotty-amberS

VAPI types are wrong for ServerMessageEndOfCallReport

The TS type and what actually gets sent are different.

ServerMessageEndOfCallReport.d.ts: https://github.com/VapiAI/server-sdk-typescript/blob/d6ef2f8ad892b8c1f90ae83cfa720a48cc438ccf/src/api/types/ServerMessageEndOfCallReport.ts#L7

Actual webhook includes a number of fields not mentioned here:
  • transcript
  • messages
  • summary
and quite a few more. Is there a reason these are left out?
GitHub
The official TypeScript SDK for accessing Vapi's API - VapiAI/server-sdk-typescript
Was this page helpful?