Register webhook
Register a webhook endpoint to receive decision event notifications. The hmac_key is generated by Specter and returned once, in the creation response.
Authorizations
HS256-signed JWT bearer token, obtained via the OAuth2 client-credentials grant (see Authentication).
Body
Webhook attributes
Event types this endpoint is subscribed to. Must contain at least one.
1decision.allow, decision.block, decision.review, decision.provisional, decision.async.allow, decision.async.block, decision.async.review HTTPS URL that Specter delivers event notifications to.
"https://merchant.example.com/webhooks/specter"
Response
Created webhook
Returned only on initial creation. Contains the plaintext hmac_key — store it securely, it will not be shown again.
"2f8d4b6c-9e1a-4c7f-b3d5-8a6e2c9f4b1d"
Plaintext HMAC key. Only returned once.
"c2VjcmV0LXdlYmhvb2stc2lnbmluZy1rZXk="
"2026-01-20T08:30:00Z"
"2026-01-20T08:30:00Z"
"https://merchant.com.example/webhooks/specter"