Skip to main content

Interface: WebhookContext

Defined in: packages/agentos/src/voice/types.ts:249

Raw webhook context passed to provider verification.

Properties

body

body: string | Buffer

Defined in: packages/agentos/src/voice/types.ts:257

Raw request body (string or Buffer).


headers

headers: Record<string, string | string[] | undefined>

Defined in: packages/agentos/src/voice/types.ts:255

HTTP headers.


method

method: string

Defined in: packages/agentos/src/voice/types.ts:251

HTTP method (usually POST).


parsedBody?

optional parsedBody: Record<string, string>

Defined in: packages/agentos/src/voice/types.ts:259

Parsed body (for providers that need form-encoded data).


url

url: string

Defined in: packages/agentos/src/voice/types.ts:253

Full request URL (used for signature verification).