Customer API · Developers
Verifying webhook signatures
Verify the SmartQ signature against the raw request body before trusting a webhook delivery.
Verified 2026-09-04 · Source 7071a2e · Requires product verification
What this does
Verify the SmartQ signature against the raw request body before trusting a webhook delivery.
Steps
- Read the signing algorithm and header names from the current Developer Portal reference.
- Capture the request's raw bytes before JSON parsing.
- Compute the expected signature using the stored webhook secret.
- Compare signatures with a timing-safe operation.
- Reject invalid or stale deliveries and protect against replay.
What happens next
Your change is available within the scope you selected.
Warnings
- Do not paste a signing secret into Support.