# Verifying

## Verifying
Each delivery carries `X-Dime-Signature: v1=<hex>`, where `<hex>` is
HMAC-SHA256 of the raw request body, keyed with the endpoint's
`signing_secret`. Compute the same over the exact bytes you received,
before parsing, and compare with a constant-time comparison. Reject
anything that does not match. Rotate the secret with
`POST /webhook-endpoints/{token}/rotate-secret`. Every attempt is signed
with the endpoint's current secret, so retries still pending when you
rotate are signed with the new one.

Security: ClientKey, SecretKey

## Description:

  - `Verifying` ()
    Each delivery carries `X-Dime-Signature: v1=<hex>`, where `<hex>` is
HMAC-SHA256 of the raw request body, keyed with the endpoint's
`signing_secret`. Compute the same over the exact bytes you received,
before parsing, and compare with a constant-time comparison. Reject
anything that does not match. Rotate the secret with
`POST /webhook-endpoints/{token}/rotate-secret`. Every attempt is signed
with the endpoint's current secret, so retries still pending when you
rotate are signed with the new one.

