Skip to content

PERS SDK - v2.3.26 / Exports / WebhookTriggerRequest

Interface: WebhookTriggerRequest

Request to trigger a webhook programmatically via proxy endpoint

Table of contents

Properties

Properties

hookId

hookId: string

Webhook ID to trigger

Defined in

webhook/models/index.ts:23


method

Optional method: WebhookMethod

HTTP method

Defined in

webhook/models/index.ts:25


headers

Optional headers: Record<string, string>

Headers to include

Defined in

webhook/models/index.ts:27


body

Optional body: unknown

Request body

Defined in

webhook/models/index.ts:29


queryParams

Optional queryParams: Record<string, string>

Query parameters

Defined in

webhook/models/index.ts:31


waitForCallback

Optional waitForCallback: boolean

Whether to wait for callback (async workflows)

Defined in

webhook/models/index.ts:33


callbackTimeoutMs

Optional callbackTimeoutMs: number

Callback timeout in milliseconds

Defined in

webhook/models/index.ts:35