docimprint

← All docs

Quickstart

DocImprint ·

First verified win with REST in about five minutes: get a key, extract one document, verify the bundle.

1

Get an API key

Free monthly credits. Prefer wallets? x402 pay-per-call →

Get API key
2

First extract

bashPOST /v1/extract?sync=true
# Capture a document as a tamper-evident evidence bundle
curl -X POST "https://api.docimprint.com/v1/extract?sync=true" \
  -H "Authorization: Bearer dr_live_..." \
  -H "Content-Type: application/json" \
  -d '{"source":"https://bitcoin.org/bitcoin.pdf","mode":"summarize"}'
jsonResponse — copy bundle_id
{
  "success": true,
  "bundle_id": "ev_3f8a1c2d-7e4b-4a9f-b2c1-d5e6f7a8b9c0",
  "provenance": {
    "manifest_sha256": "a3f8c2d1e4b76f9c0d2e5a8b1c4f7e2d9a6b3c8f1e4d7a0b2c5f8e1d4a7b0c3"
  }
}
3

Verify

Confirm the evidence signature with the bundle_id from step 2.

bashGET /v1/extract/:id/verify
# Replace bundle_id with the value from your extract response
curl https://api.docimprint.com/v1/extract/ev_3f8a1c2d-7e4b-4a9f-b2c1-d5e6f7a8b9c0/verify \
  -H "Authorization: Bearer dr_live_..."

# Quick status-only check:
# curl "https://api.docimprint.com/v1/extract/ev_3f8a1c2d-7e4b-4a9f-b2c1-d5e6f7a8b9c0/verify?quick=true" \
#   -H "Authorization: Bearer dr_live_..."

Related