Skip to main content
WEBHOOK

Headers

webhook-id
string
required

The id of the call: the same as id in the body (evt_ and 32 hexadecimal characters). It is the same on every try of one event, so keep the ids you handled and drop a repeat. A test event has an id that starts with evt_test_.

webhook-timestamp
string
required

When the call was signed, in seconds since 1970. Refuse a call more than five minutes away from your clock.

webhook-signature
string
required

One or more signatures, separated by a space: v1, and the base64 HMAC-SHA256 of <webhook-id>.<webhook-timestamp>.<raw body> under your secret. A second signature is there while a rotated secret overlaps. See Verify signatures.

x-widgetic-event
string
required

The event type, the same as type in the body: it lets you route a call before you read it.

Body

application/json
id
string
required

The id of the event: evt_ and 32 hexadecimal characters. The same as the webhook-id header, and the same on every try.

type
enum<string>
required

The type of the event. Here always workflow.published.

Available options:
workflow.published
createdAt
string<date-time>
required

When the event was told. A call sent again by a replay carries the time of the replay.

partnerId
string<uuid>
required

Your partner account.

data
object
required

The workflow that went live in a new version.

Response

Received. Answer with any 2xx status within 10 seconds. Widgetic reads at most 16 KiB of your answer and ignores what it says, so keep it short: a longer answer counts as a failure.