Skip to content
This is a new version of the Kivra Developer Docs. Report issues or share feedback at avsandare.support@kivra.se. The previous version can be found here.

Duplicate control

In production, Kivra delivers only the first request when the complete payload is repeated. The generated_at field is excluded from the comparison. Reusing the same payload makes it safe to retry after a timeout when delivery status is uncertain; Kivra returns an OK response for later duplicates without creating another delivery.

Duplicate control is not enabled in the sandbox, so the same payload can be sent repeatedly while testing. Any change to the payload other than generated_at makes it a new delivery. In particular, do not regenerate the PDF between retries: even a small binary difference prevents duplicate recognition.

See the Send content API reference for the complete request schema and validation rules.