API reference

Audit and evidence

Read and export the audit trail, build the evidence package, and verify a document.

POST/verify

Confirm a document hash against a record

Public and unauthenticated (7.27). Confirms integrity and completion without disclosing title, party identities or content. No match is a 200 carrying found: false, never a 404: the absence of a record has to be an answer.

Authentication None

Request body

  • sha256stringrequired

Response 200

Whether the hash matches a record

Errors

Request
curl -X POST https://api.signrs.com/api/v1/verify \
  -H "Content-Type: application/json" \
  -d '{
    "sha256": "911ace9523082a02cc5ad406e09f58a4a02bf07b8f9d44dfc6287e64989a1f3e"
  }'
Response 200
{
  "found": true,
  "status": "DRAFT",
  "completedAt": "2026-11-03T16:51:04.087Z",
  "partyCount": 1,
  "certificateUrl": "https://example.com/hooks/signrs",
  "chainAnchor": {
    "genTime": "2026-11-03T16:51:04.087Z",
    "tsa": "https://example.com/hooks/signrs"
  }
}

GET/envelopes/{id}/audit

Read the audit trail

Ascending by seq, oldest first: unlike every other list here, because a trail is a narrative. Every record carries prevHash and recordHash: withholding them would make the trail unverifiable by the person it exists to convince. The cursor is the seq itself, which is gapless and ordered by construction. verification reports what was actually checked (each record against its own hash, and seq contiguity) and is scoped to the PAGE. It is NOT whole-chain verification: the chain is per organisation, so one envelope's records are a subsequence of it with legitimate gaps in globalSeq. Use the evidence package and the offline verifier for the full claim. Reading the trail writes audit.accessed into it.

Authentication API token or Sender session

Parameters

  • idpath · stringrequired
  • afterquery · string
  • limitquery · string

Response 200

One page of the trail, with what was verified about it

Response fields
  • dataarray of object
    • eventIdstring
    • envelopeIdstring or any or null
    • organisationIdstring
    • seqintegerat least -9007199254740991
    • globalSeqintegerat least -9007199254740991
    • typestring
    • occurredAtstringdate-time
    • recordedAtstringdate-time
    • payloadany
    • prevHashstring or any or null
    • recordHashstring
    • anchorobject or any or null
  • nextCursorinteger or any or null
  • verificationobject
    • okboolean
    • checkedarray of string
    • scopestring

      One of "PAGE", "ENVELOPE"

    • frominteger or any or null
    • tointeger or any or null
    • reasonstring
    • failedAtSeqintegerat least -9007199254740991

Errors

Request
curl https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/audit \
  -H "Authorization: Bearer $SIGNRS_TOKEN"
Response 200
{
  "data": [
    {
      "eventId": "eve_6Hn3kQw8",
      "envelopeId": "env_8kR4tZp1",
      "organisationId": "org_5Wq2mBn8",
      "seq": 1,
      "globalSeq": 1,
      "type": "example",
      "occurredAt": "2026-11-03T16:51:04.087Z",
      "recordedAt": "2026-11-03T16:51:04.087Z",
      "payload": null,
      "prevHash": "911ace9523082a02cc5ad406e09f58a4a02bf07b8f9d44dfc6287e64989a1f3e",
      "recordHash": "911ace9523082a02cc5ad406e09f58a4a02bf07b8f9d44dfc6287e64989a1f3e",
      "anchor": {
        "anchorId": "anc_6Hn3kQw8",
        "leafIndex": 1,
        "path": [
          "example"
        ]
      }
    }
  ],
  "nextCursor": 1,
  "verification": {
    "ok": true,
    "checked": [
      "RECORD_HASHES"
    ],
    "scope": "PAGE",
    "from": 1,
    "to": 1
  }
}

POST/envelopes/{id}/evidence-package

Build the evidence package

A ZIP containing the audit trail as canonical JSON, every revision, the certificates and RFC 3161 tokens held for this envelope, a manifest listing each file with its SHA-256, and a README written for a lawyer. What the specified package asks for and this build cannot produce is listed by name in the manifest and repeated in the README, because a package that quietly omits something looks complete to whoever receives it. No size ceiling: this is what the audit export points at when a trail is too large to return as JSON, so a limit here would leave the largest envelopes with no way out. The archive SHA-256 is published in x-evidence-sha256 so an FRE 902(14) certification is a copy-paste exercise.

Authentication API token or Sender session

Parameters

  • idpath · stringrequired

Response 200

The package

Errors

Request
curl -X POST https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/evidence-package \
  -H "Authorization: Bearer $SIGNRS_TOKEN"
Response 200
"example"

GET/envelopes/{id}/audit/export

Export the whole trail

The complete trail as one RFC 8785 canonical JSON document: byte-reproducible, so two exports of an unchanged trail are identical and the ETag (the export's own SHA-256) is a single value standing for the entire trail. Carries the same verification claim and the same limits as the paginated read, with scope ENVELOPE: still one envelope's subsequence of a per-organisation chain, so linkage needs the evidence package. A trail too large to serve is EXPORT_TOO_LARGE rather than truncated: a truncated export that still looks like an export is a forgery waiting to be quoted in a filing. The human-readable PDF is not built yet.

Authentication API token or Sender session

Parameters

  • idpath · stringrequired

Response 200

The trail, canonically serialised

Response fields
  • envelopeIdstring
  • organisationIdstring
  • exportedAtstringdate-time
  • recordCountinteger
  • recordsarray of object
    • eventIdstring
    • envelopeIdstring or any or null
    • organisationIdstring
    • seqintegerat least -9007199254740991
    • globalSeqintegerat least -9007199254740991
    • typestring
    • occurredAtstringdate-time
    • recordedAtstringdate-time
    • payloadany
    • prevHashstring or any or null
    • recordHashstring
    • anchorobject or any or null
  • anchorsarray of object
    • anchorIdstring
    • fromGlobalSeqintegerat least -9007199254740991
    • toGlobalSeqintegerat least -9007199254740991
    • merkleRootstring
    • leafCountintegerat least 1
    • tsaUrlstring
    • genTimestringdate-time
    • timestampTokenDerstring
  • verificationobject
    • okboolean
    • checkedarray of string
    • scopestring

      One of "PAGE", "ENVELOPE"

    • frominteger or any or null
    • tointeger or any or null
    • reasonstring
    • failedAtSeqintegerat least -9007199254740991

Errors

Request
curl https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/audit/export \
  -H "Authorization: Bearer $SIGNRS_TOKEN"
Response 200
{
  "envelopeId": "env_8kR4tZp1",
  "organisationId": "org_5Wq2mBn8",
  "exportedAt": "2026-11-03T16:51:04.087Z",
  "recordCount": 1,
  "records": [
    {
      "eventId": "eve_6Hn3kQw8",
      "envelopeId": "env_8kR4tZp1",
      "organisationId": "org_5Wq2mBn8",
      "seq": 1,
      "globalSeq": 1,
      "type": "example",
      "occurredAt": "2026-11-03T16:51:04.087Z",
      "recordedAt": "2026-11-03T16:51:04.087Z",
      "payload": null,
      "prevHash": "911ace9523082a02cc5ad406e09f58a4a02bf07b8f9d44dfc6287e64989a1f3e",
      "recordHash": "911ace9523082a02cc5ad406e09f58a4a02bf07b8f9d44dfc6287e64989a1f3e",
      "anchor": {
        "anchorId": "anc_6Hn3kQw8",
        "leafIndex": 1,
        "path": [
          "example"
        ]
      }
    }
  ],
  "anchors": [
    {
      "anchorId": "anc_6Hn3kQw8",
      "fromGlobalSeq": 1,
      "toGlobalSeq": 1,
      "merkleRoot": "example",
      "leafCount": 1,
      "tsaUrl": "example",
      "genTime": "2026-11-03T16:51:04.087Z",
      "timestampTokenDer": "example"
    }
  ],
  "verification": {
    "ok": true,
    "checked": [
      "RECORD_HASHES"
    ],
    "scope": "PAGE",
    "from": 1,
    "to": 1
  }
}