Skip to main content
WEBHOOK

Headers

webhook-id
string
required

The id of the call. For an event it is the same as eventId in the body, and it is the same on every try and every replay: keep the ids you handled and drop a repeat. For the verification call it is a new msg_verification_… id.

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-mcp-subscription-id
string
required

The id of the subscription the call is for: id in the answer of events/subscribe.

Body

application/json
eventId
string
required

The id of the event: the same as the webhook-id header, and the same on every try and every replay.

name
enum<string>
required

The name of the event.

Available options:
submission.created
timestamp
string<date-time>
required

When the entry arrived.

data
object
required

What the event says about the entry: where it is, never what it holds.

cursor
string | null
required

Where this event is in the log of events. Save the latest one you handled and send it back as cursor to events/subscribe or events/poll to get what came after. null when the event was not logged: it cannot be fetched again.

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.