{
"type": "verification",
"challenge": "r7Qm1h8n0Wc5Yt3bZk2Xv9LdPe4JaUoS"
}{
"challenge": "r7Qm1h8n0Wc5Yt3bZk2Xv9LdPe4JaUoS"
}MCP events
Subscription verification
Before Widgetic delivers anything to a new address, it sends this call once and waits for your address to give the challenge back. It is signed like every other call. A subscription is made only when your answer is a 2xx JSON body with the same challenge; otherwise events/subscribe fails with the code -32015.
A success for the same address and secret is remembered for 10 minutes, so refreshing a subscription does not send it again at once.
Your address has 5 seconds to answer.
WEBHOOK
verification
{
"type": "verification",
"challenge": "r7Qm1h8n0Wc5Yt3bZk2Xv9LdPe4JaUoS"
}{
"challenge": "r7Qm1h8n0Wc5Yt3bZk2Xv9LdPe4JaUoS"
}Headers
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.
Body
application/json