Skip to content

WebhookDelivery

Defined in: packages/webhook/src/types/webhook.types.ts:105

attempts: WebhookAttempt[]

Defined in: packages/webhook/src/types/webhook.types.ts:118


optional completedAt: Date

Defined in: packages/webhook/src/types/webhook.types.ts:121


createdAt: Date

Defined in: packages/webhook/src/types/webhook.types.ts:120


endpointId: string

Defined in: packages/webhook/src/types/webhook.types.ts:107


eventId: string

Defined in: packages/webhook/src/types/webhook.types.ts:108


optional eventType: WebhookEventType

Defined in: packages/webhook/src/types/webhook.types.ts:113

Optional event type for filtering/stats. (Helpful because payload is a JSON string and timestamps need revival when parsed.)


headers: Record<string, string>

Defined in: packages/webhook/src/types/webhook.types.ts:116


httpMethod: "POST" | "PUT" | "PATCH"

Defined in: packages/webhook/src/types/webhook.types.ts:115


id: string

Defined in: packages/webhook/src/types/webhook.types.ts:106


optional nextRetryAt: Date

Defined in: packages/webhook/src/types/webhook.types.ts:122


payload: string

Defined in: packages/webhook/src/types/webhook.types.ts:117


status: "failed" | "success" | "pending" | "exhausted"

Defined in: packages/webhook/src/types/webhook.types.ts:119


url: string

Defined in: packages/webhook/src/types/webhook.types.ts:114