Verify a request signature (self-test)
Verify a request signature (self-test)
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
Optional client-generated idempotency token (recommended for safe retries).
Request
HTTP method of the hypothetical request. Defaults to POST.
Unix seconds, same value as X-Request-Timestamp.
Value of Idempotency-Key, or empty when the route has none.
Lowercase hex SHA-256 of the body. Omit and we compute it from body — that is the step most integrators get wrong.
Detached JWS <protected>..<signature>.
Response
Verification result (including failures).
Present only when valid is false. One of request_signature_invalid, request_timestamp_skew, unknown_kid, body_hash_mismatch, signature_missing, no_credential, no_public_key.
Keys currently usable by this credential (past their grace period).