Webhooks
Get Webhook Secret
Get the current webhook signing secret.
Returns the active secret used to sign outbound webhook deliveries via the bem-signature header. Returns 404 if no secret has been generated for this environment yet.
Use the secret to verify incoming webhook payloads:
- Parse bem-signature: t={timestamp},v1={signature}.
- Construct the signed string: {timestamp}.{raw request body}.
- Compute HMAC-SHA256 of that string using the secret.
- Compare the hex digest against v1.
- Reject requests where the timestamp is more than a few minutes old.
get/v3/webhook-secret
Response
The request has succeeded.