Skip to main content

Interface: WebhookRequest<T>

The context provided to a webhook function.

Type parameters

NameType
Tany

Properties

body

body: T


files

Optional files: SquidFile[]


headers

headers: Record<string, string>


httpMethod

httpMethod: "delete" | "post" | "get" | "put"


queryParams

queryParams: Record<string, string>


rawBody

Optional rawBody: string