Skip to main content

Headers

X-Signature-Primary
string

An HMAC signature generated using the webhook payload and a shared signing secret. This is then converted to a base64 encoded string. Only present when webhook signing is enabled in the dashboard.

X-Signature-Secondary
string

A secondary signature that is added when you have rotated your secret within the past 24 hours.

Body

application/json
eventType
enum<string>
required

The type of the webhook raised. WORKFLOW_RUN.FAILED for failed workflow runs. Additional types may be supported in the future.

Available options:
WORKFLOW_RUN.FAILED
version
string
required

The payload version for this eventType.

Example:

"1.0"

date
string
required

The date and time when the webhook event was sent.

Example:

"2024-02-21 15:36:16.167687"

primerAccountId
string<uuid>
required

The Primer Account ID of the account that owns the failed workflow run.

workflow
Workflow · object
required

Details of the workflow that had a failed run.

run
Run · object
required

Details of the workflow run that failed.

triggerEventId
string | null

An optional ID passed with the trigger to identify the origin of the event that started the workflow. For payment workflows this is the payment ID; other triggers may not set an event ID, in which case this value will be null.

Response

200

Return a 200 status to indicate that the data was received successfully