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
type
enum<string>
required

Always verification.

Available options:
verification
challenge
string
required

A random text for this call alone. Give it back unchanged.

Response

The challenge, unchanged. Any other answer fails the subscription.

challenge
string
required

The challenge of the call, unchanged.