Skip to main content

Interface: TestOrgWebhookEndpointResponse

Defined in: packages/sdk/src/types/generated/organization_webhook.ts:211

What one test send did.

Mirrors the delivery log's vocabulary rather than inventing a second one: failureClass and errorType are the same closed values an operator reads on a real delivery attempt (lib.services. org_webhook_delivery_service), so "what happened to my test" and "what happened to my deliveries" are answered in one language.

responseBody is a bounded prefix of the RECEIVER's reply — the operator's own server talking back. It is the reason the button is worth pressing, and it is truncated because an arbitrary third-party body has no size we control.

Properties

delivered

delivered: boolean

Defined in: packages/sdk/src/types/generated/organization_webhook.ts:212


durationMs

durationMs: number

Defined in: packages/sdk/src/types/generated/organization_webhook.ts:217


errorType?

optional errorType: string | null

Defined in: packages/sdk/src/types/generated/organization_webhook.ts:215


failureClass?

optional failureClass: string | null

Defined in: packages/sdk/src/types/generated/organization_webhook.ts:214


responseBody?

optional responseBody: string | null

Defined in: packages/sdk/src/types/generated/organization_webhook.ts:216


statusCode?

optional statusCode: number | null

Defined in: packages/sdk/src/types/generated/organization_webhook.ts:213