Documentation / Checks
GET /v1/checks/{id}/timestamp.tsr
Same token, as raw DER, Content-Type: application/timestamp-reply. This is what an offline verifier needs. While the token is not available yet, this route answers exactly like the JSON one — 202 Accepted with {"status":"pending"}, as JSON — so both routes have the same semantics.
curl -H "Authorization: Bearer ak_live_XXX" \
https://api.akwito.eu/v1/checks/chk_01J9X0000000000000000000/timestamp.tsr > proof.tsr
openssl ts -verify -digest <hash> -token_in -in proof.tsr -CAfile tsa-chain.pem
<hash> is the hash field above (equivalently, the SHA-256 of the stored JSON). -token_in is needed because the file is a bare token, not a full time-stamp response. tsa-chain.pem is a file you assemble yourself: the root certificate of the authority named in authority, which that authority publishes on its own site, plus any intermediate the token does not already carry (the token embeds the signing certificate). akwito deliberately does not serve, pin or verify that chain itself: trust in the authority belongs to whoever rereads the token, possibly years later, with the roots they consider valid at that time.
The PDF attestation carries the same information as a printed line once the token exists. Before it exists, the PDF is rendered without that line, and it stays byte-identical across renders in both states.