Skip to main content
POST
Rotate the signing secret
Rotate the secret if it may have leaked, or as routine hygiene. You get the new secret in the response. For the next 24 hours every delivery is signed with both secrets, new first:
previous_valid_until in the response says when the old one stops. Update your receiver to the new secret before then. A receiver that splits the header on commas and accepts any match keeps working the whole time. Rotating with an API key needs the webhooks:write scope. You can also rotate from Settings → API Keys in the app.

Authorizations

Authorization
string
header
required

API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.

Headers

Idempotency-Key
string

Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.

Required string length: 1 - 255

Response

The new signing secret.

secret
string
required
signature_header
string
required
algorithm
string
default:HMAC-SHA256 over '<timestamp>.<raw body>'
previous_valid_until
string<date-time> | null
rotated_at
string<date-time> | null