signature authentication mode and a signing secret in this format:
bearer, header, or none, Leadping does not add the signature headers described on this page.
Signature headers
Signed deliveries follow the Standard Webhooks signing format:
Leadping calculates each
v1 signature with HMAC-SHA256 over:
whsec_ secret.
Validation steps
Validate a signed request before parsing or otherwise processing its body:- Read the three signature headers.
- Reject a timestamp outside a short tolerance, such as five minutes.
- Build the signed content from the header values and the exact raw request-body bytes.
- Base64-decode the key after removing the
whsec_prefix. - Calculate HMAC-SHA256 and compare it with every supported
v1signature using a constant-time comparison. - Reject the request unless at least one signature matches.
- Deduplicate successful deliveries by
webhook-idbefore performing side effects.
Use a Standard Webhooks library
The Standard Webhooks project maintains reference verification libraries with installation instructions and code samples for C#, JavaScript and TypeScript, Python, Java and Kotlin, Go, PHP, Ruby, Rust, and Elixir:- Browse the Standard Webhooks reference libraries
- View the reference implementations and package names
- Read the signature-verification specification
- The
whsec_signing secret configured in Leadping - The exact, unmodified request body
- The
webhook-id,webhook-timestamp, andwebhook-signatureheaders
401 Unauthorized or 400 Bad Request without processing the payload when verification fails. Return a successful 2xx response only after the delivery has been accepted for processing.
Retries and replay protection
Leadping may retry a webhook when an attempt fails. Retries keep the samewebhook-id, but each attempt receives a current webhook-timestamp and a new signature.
Store successfully processed webhook-id values for an appropriate period and make processing idempotent. Timestamp validation limits how long a captured request can be replayed; deduplication prevents a valid retry from applying the same operation twice.
The Standard Webhooks format allows multiple space-separated signatures. Check every supported v1 entry and ignore signature versions your endpoint does not support.
Last updated: July 27, 2026

