API reference

Signing sessions

What the signing page calls: exchange a signing link, read the document, fill fields, sign or decline.

POST/sign/session

Exchange a party token for a signing session

The only endpoint in the signing surface that carries no session token, because it is where one comes from. The party token goes in the body rather than in Authorization: it reaches the signing view as a URL parameter, and a body keeps it out of the header a proxy log is most likely to be capturing. sessionToken is returned once and never again. An unrecognised token is NOT_FOUND; a recognised one in a state that refuses gets a specific code: its holder has already demonstrated possession, so LINK_EXPIRED, SIGNING_CLOSED, SIGNING_ORDER_VIOLATION, ACCESS_CODE_REQUIRED, ACCESS_CODE_INVALID and AUTH_UNSUPPORTED tell them nothing they did not have. No Idempotency-Key: that is scoped to an organisation and this caller has none.

Authentication None

Request body

  • tokenstringrequired16 to 256 characters
  • accessCodestring1 to 64 characters

Response 201

A session. sessionToken is shown here and nowhere else.

Response fields
  • sessionTokenstring
  • sessionIdstring
  • hashPresentedstring or any or null
  • expiresAtstringdate-time
  • accessSatisfiedboolean
  • outstandingAutharray of string
  • canSignboolean
  • partyobject
    • idstring
    • rolestring

      One of "SIGNER", "APPROVER", "VIEWER", "ASSISTANT", "CC", "WITNESS", "NOTARY"

    • roleLabelstring or any or null
    • namestring or any or null
    • emailstring or any or null
    • signingOrderintegerat least -9007199254740991
    • statusstring
  • envelopeobject
    • idstring
    • titlestring
    • statusstring

      One of "DRAFT", "PENDING", "SEALING", "SEAL_FAILED", "COMPLETED", "DECLINED", "CANCELLED", "EXPIRED"

    • expiresAtstring or any or null

Errors

Request
curl -X POST https://api.signrs.com/api/v1/sign/session \
  -H "Content-Type: application/json" \
  -d '{
    "token": "examplexxxxxxxxx"
  }'
Response 201
{
  "sessionToken": "example",
  "sessionId": "ses_6Hn3kQw8",
  "hashPresented": "example",
  "expiresAt": "2026-11-03T16:51:04.087Z",
  "accessSatisfied": true,
  "outstandingAuth": [
    "example"
  ],
  "canSign": true,
  "party": {
    "id": "env_8kR4tZp1",
    "role": "SIGNER",
    "roleLabel": "example",
    "name": "Dana Ruiz",
    "email": "dana.ruiz@example.com",
    "signingOrder": 1,
    "status": "example"
  },
  "envelope": {
    "id": "env_8kR4tZp1",
    "title": "Ruiz Landscaping services agreement",
    "status": "DRAFT",
    "expiresAt": "2026-11-03T16:51:04.087Z"
  }
}

GET/sign/session/envelope

The envelope as this party sees it

Scoped to the session's party. Other parties appear without email or phone (a signer is entitled to know they are waiting on the finance director, not to the finance director's address) and their fields are not returned at all. Conditional logic is resolved server-side; until the resolver exists (P2) a field carrying conditions is refused with CONDITIONS_UNSUPPORTED rather than returned unresolved, because showing a signer a field a rule would have hidden is a wrong answer that looks like a right one.

Authentication Signing session

Response 200

The party-scoped envelope

Response fields
  • envelopeobject
    • idstring
    • titlestring
    • statusstring

      One of "DRAFT", "PENDING", "SEALING", "SEAL_FAILED", "COMPLETED", "DECLINED", "CANCELLED", "EXPIRED"

    • expiresAtstring or any or null
  • partyobject
    • idstring
    • rolestring

      One of "SIGNER", "APPROVER", "VIEWER", "ASSISTANT", "CC", "WITNESS", "NOTARY"

    • roleLabelstring or any or null
    • namestring or any or null
    • emailstring or any or null
    • signingOrderintegerat least -9007199254740991
    • statusstring
  • canSignboolean
  • accessSatisfiedboolean
  • itemsarray of object
    • idstring
    • positioninteger
    • filenamestring
    • mimeTypestring
    • pageCountinteger or any or null
  • fieldsarray of object
    • idstring
    • itemIdstring
    • typestring

      One of "SIGNATURE", "FREE_SIGNATURE", "INITIALS", "STAMP", "NAME", "EMAIL", "PHONE", "JOB_TITLE", "COMPANY", "DATE", "TEXT", "NUMBER", "CHECKBOX", "RADIO", "DROPDOWN", "CELLS", "IMAGE", "ATTACHMENT", "SIGNATURE_MEANING"

    • pageintegerat least -9007199254740991
    • xnumber
    • ynumber
    • wnumber
    • hnumber
    • requiredboolean
    • readOnlyboolean
    • groupKeystring or any or null
    • filledboolean
  • otherPartiesarray of object
    • idstring
    • rolestring

      One of "SIGNER", "APPROVER", "VIEWER", "ASSISTANT", "CC", "WITNESS", "NOTARY"

    • roleLabelstring or any or null
    • namestring or any or null
    • signingOrderintegerat least -9007199254740991
    • statusstring

Errors

Request
curl https://api.signrs.com/api/v1/sign/session/envelope \
  -H "Authorization: Bearer $SIGNING_SESSION_TOKEN"
Response 200
{
  "envelope": {
    "id": "env_8kR4tZp1",
    "title": "Ruiz Landscaping services agreement",
    "status": "DRAFT",
    "expiresAt": "2026-11-03T16:51:04.087Z"
  },
  "party": {
    "id": "env_8kR4tZp1",
    "role": "SIGNER",
    "roleLabel": "example",
    "name": "Dana Ruiz",
    "email": "dana.ruiz@example.com",
    "signingOrder": 1,
    "status": "example"
  },
  "canSign": true,
  "accessSatisfied": true,
  "items": [
    {
      "id": "env_8kR4tZp1",
      "position": 1,
      "filename": "ruiz-landscaping-services-agreement.pdf",
      "mimeType": "application/pdf",
      "pageCount": 1
    }
  ],
  "fields": [
    {
      "id": "env_8kR4tZp1",
      "itemId": "itm_5Qn2wLr6",
      "type": "SIGNATURE",
      "page": 1,
      "x": 0.118,
      "y": 0.46,
      "w": 0.353,
      "h": 0.05,
      "required": true,
      "readOnly": true,
      "groupKey": "example",
      "filled": true
    }
  ],
  "otherParties": [
    {
      "id": "env_8kR4tZp1",
      "role": "SIGNER",
      "roleLabel": "example",
      "name": "Dana Ruiz",
      "signingOrder": 1,
      "status": "example"
    }
  ]
}

PATCH/sign/session/fields

Save field values as the signer works

A partial save, called repeatedly while somebody fills a form in: sending three of eight fields writes those three and leaves the rest alone. It writes nothing to the audit trail, and that is a decision: somebody typing produces a save every few seconds, and recording each would bury the events a court reads while building a keystroke-level history of a person filling in a form. What must be provable is what was signed, and complete captures that. Only this party's own fields: another party's is 404, the same answer as one that does not exist. A read-only field is FIELD_NOT_FILLABLE. Values are re-validated server-side here and again at complete.

Authentication Signing session

Request body

  • valuesarray of objectrequired
    • fieldIdstringrequired
    • valueobjectrequired

Response 200

What was saved, and every field of this party's

Response fields
  • savedinteger
  • fieldsarray of object
    • idstring
    • itemIdstring
    • typestring

      One of "SIGNATURE", "FREE_SIGNATURE", "INITIALS", "STAMP", "NAME", "EMAIL", "PHONE", "JOB_TITLE", "COMPANY", "DATE", "TEXT", "NUMBER", "CHECKBOX", "RADIO", "DROPDOWN", "CELLS", "IMAGE", "ATTACHMENT", "SIGNATURE_MEANING"

    • pageintegerat least -9007199254740991
    • xnumber
    • ynumber
    • wnumber
    • hnumber
    • requiredboolean
    • readOnlyboolean
    • groupKeystring or any or null
    • filledboolean

Errors

Request
curl -X PATCH https://api.signrs.com/api/v1/sign/session/fields \
  -H "Authorization: Bearer $SIGNING_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "values": [
      {
        "fieldId": "fld_2Lp8sKd4",
        "value": {
          "kind": "text",
          "text": "example"
        }
      }
    ]
  }'
Response 200
{
  "saved": 1,
  "fields": [
    {
      "id": "env_8kR4tZp1",
      "itemId": "itm_5Qn2wLr6",
      "type": "SIGNATURE",
      "page": 1,
      "x": 0.118,
      "y": 0.46,
      "w": 0.353,
      "h": 0.05,
      "required": true,
      "readOnly": true,
      "groupKey": "example",
      "filled": true
    }
  ]
}

POST/sign/session/complete

Apply the signature

presentedHash is echoed back by the client and must match the hash of what was presented to this party. It looks redundant (the server produced the revision) and the value is that it is an end-to-end check across a boundary the server cannot otherwise see: a stale tab, two diverged sessions, a rewriting middlebox, a modified client. Every one means the signer was looking at something other than what we presented, and the assent argument rests on that correspondence. A mismatch is PRESENTED_HASH_MISMATCH with no reconciliation path. Every required field must be filled, values are re-validated here regardless of having passed the partial save, and a party whose actionAuth this deployment cannot satisfy is refused rather than signed without it. The last party to complete moves the envelope to SEALING.

Authentication Signing session

Request body

  • valuesarray of object
    • fieldIdstringrequired
    • valueobjectrequired
  • presentedHashstringrequired
  • intentStatementVersionstringrequired
  • intentAcknowledgedbooleanrequired
  • signatureMeaningstring1 to 64 characters
  • actionAuthobject
    • methodstringrequired
    • challengeIdstringrequired
    • codestringrequired1 to 16 characters

Response 200

The signature, and what the envelope is still waiting on

Response fields
  • completedboolean
  • partyIdstring
  • envelopeStatusstring
  • completedAtstringdate-time
  • presentedHashstring
  • awaitingarray of object
    • idstring
    • rolestring

      One of "SIGNER", "APPROVER", "VIEWER", "ASSISTANT", "CC", "WITNESS", "NOTARY"

Errors

Request
curl -X POST https://api.signrs.com/api/v1/sign/session/complete \
  -H "Authorization: Bearer $SIGNING_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "presentedHash": "911ace9523082a02cc5ad406e09f58a4a02bf07b8f9d44dfc6287e64989a1f3e",
    "intentStatementVersion": "example",
    "intentAcknowledged": true
  }'
Response 200
{
  "completed": true,
  "partyId": "pty_3Hd7cVx9",
  "envelopeStatus": "example",
  "completedAt": "2026-11-03T16:51:04.087Z",
  "presentedHash": "911ace9523082a02cc5ad406e09f58a4a02bf07b8f9d44dfc6287e64989a1f3e",
  "awaiting": [
    {
      "id": "env_8kR4tZp1",
      "role": "SIGNER"
    }
  ]
}

POST/sign/session/challenge

Send a one-time passcode

For a party whose accessAuth (purpose ACCESS) or actionAuth (purpose ACTION) includes EMAIL_OTP. A six-digit code is emailed to the party before this returns; it is never in the response. It works once, for ten minutes and five attempts, and a new challenge replaces the earlier one. At most five per party per hour. Answer ACCESS at POST /sign/session/verify, and ACTION in actionAuth at complete.

Authentication Signing session

Request body

  • methodstringrequired
  • purposestringrequired

    One of "ACCESS", "ACTION"

Response 201

The code was sent; where to, masked

Response fields
  • challengeIdstring
  • methodstring
  • purposestring

    One of "ACCESS", "ACTION"

  • destinationstring
  • expiresAtstringdate-time

Errors

Request
curl -X POST https://api.signrs.com/api/v1/sign/session/challenge \
  -H "Authorization: Bearer $SIGNING_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "EMAIL_OTP",
    "purpose": "ACCESS"
  }'
Response 201
{
  "challengeId": "cha_6Hn3kQw8",
  "method": "EMAIL_OTP",
  "purpose": "ACCESS",
  "destination": "example",
  "expiresAt": "2026-11-03T16:51:04.087Z"
}

POST/sign/session/verify

Answer a one-time passcode for access

Satisfies EMAIL_OTP in the party's accessAuth for this session. Until every access requirement is met, the other signing endpoints answer AUTH_REQUIRED. A wrong code is OTP_INVALID; one past its ten minutes is OTP_EXPIRED.

Authentication Signing session

Request body

  • challengeIdstringrequired
  • codestringrequired1 to 16 characters

Response 200

What is still outstanding, if anything

Response fields
  • accessSatisfiedboolean
  • outstandingAutharray of string

Errors

Request
curl -X POST https://api.signrs.com/api/v1/sign/session/verify \
  -H "Authorization: Bearer $SIGNING_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "challengeId": "cha_6Hn3kQw8",
    "code": "example"
  }'
Response 200
{
  "accessSatisfied": true,
  "outstandingAuth": [
    "example"
  ]
}

POST/sign/session/decline

Decline, as the party themselves

The reason is optional here and required when an owner declines on somebody's behalf: a signer refusing in the signing view has already demonstrated they saw the document, so the record of their own act stands on its own. No actionAuth is required: a signer who cannot satisfy an OTP challenge would otherwise be left choosing between signing and going silent, and authentication guards the act that creates an obligation, not the one that declines to. Any party declining halts the envelope, so this moves it to DECLINED and ends every live session on it. A role with nothing to refuse (CC, VIEWER) is VALIDATION_FAILED, and a decision already made is SIGNING_CLOSED rather than remade.

Authentication Signing session

Request body

  • reasonstring1 to 2000 characters

Response 200

The refusal, and the envelope it halted

Response fields
  • declinedboolean
  • partyIdstring
  • envelopeStatusstring
  • declinedAtstringdate-time

Errors

Request
curl -X POST https://api.signrs.com/api/v1/sign/session/decline \
  -H "Authorization: Bearer $SIGNING_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
Response 200
{
  "declined": true,
  "partyId": "pty_3Hd7cVx9",
  "envelopeStatus": "example",
  "declinedAt": "2026-11-03T16:51:04.087Z"
}

GET/sign/session/document

One document this party is shown

One item per call: itemId names it, from the items GET /sign/session/envelope lists, and may be left out only when this party was shown one document. Left out when there are several, the call is VALIDATION_FAILED rather than an answer with whichever comes first. Returned as bytes, not as a link: a presigned URL would be a second credential with its own lifetime and its own answer to who may fetch this, and none of those answers would be the session's. Content-Disposition is inline with a filename, and no header, meta tag or viewer parameter asks a client to disable download, print or copy, and there is no configuration that turns it off. A canSign:false session still gets the document, because a completed signer reopening their link to save a copy is exercising the retention right UETA §8(b) rests on. x-item-sha256 is this item's hash, to check the bytes received. It is not what the client echoes at complete: that is the session's hashPresented, which covers every document shown.

Authentication Signing session

Parameters

  • itemIdquery · string

Response 200

The document

Errors

Request
curl https://api.signrs.com/api/v1/sign/session/document \
  -H "Authorization: Bearer $SIGNING_SESSION_TOKEN"
Response 200
"example"

POST/sign/session/view-progress

Report which pages of an item this party has seen

The client reports observations; whether they satisfy the requirement is the server's judgement, and allItemsViewed in the response is what gates the signing control. Cumulative and idempotent: posting pages 1-3 twice is the same state as posting them once, and posting page 2 alone never retracts 1 and 3. There is deliberately no endpoint that lowers view progress. acknowledgedAll is an explicit acknowledgement, accepted as an alternative to page tracking: recorded as that, and distinguishable in the trail from pages actually turned. A page outside the item's range is PAGE_OUT_OF_RANGE rather than silently dropped. An item with no page count has no denominator and can complete only on an acknowledgement.

Authentication Signing session

Request body

  • itemIdstringrequired
  • pagesViewedarray of integer
  • acknowledgedAllbooleandefault false

Response 200

This item's progress, every item's, and whether the gate is met

Response fields
  • itemobject
    • itemIdstring
    • pagesViewedarray of integer
    • pageCountinteger or any or null
    • acknowledgedAllboolean
    • completeboolean
  • itemsarray of object
    • itemIdstring
    • pagesViewedarray of integer
    • pageCountinteger or any or null
    • acknowledgedAllboolean
    • completeboolean
  • allItemsViewedboolean

Errors

Request
curl -X POST https://api.signrs.com/api/v1/sign/session/view-progress \
  -H "Authorization: Bearer $SIGNING_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "itemId": "itm_5Qn2wLr6"
  }'
Response 200
{
  "item": {
    "itemId": "itm_5Qn2wLr6",
    "pagesViewed": [
      1
    ],
    "pageCount": 1,
    "acknowledgedAll": true,
    "complete": true
  },
  "items": [
    {
      "itemId": "itm_5Qn2wLr6",
      "pagesViewed": [
        1
      ],
      "pageCount": 1,
      "acknowledgedAll": true,
      "complete": true
    }
  ],
  "allItemsViewed": true
}

POST/sign/session/acknowledge

Acknowledge receipt of one item

Certified delivery and supplemental documents are the same mechanism: this party must acknowledge this thing, and the acknowledgement is the evidence. The client echoes the hash of what it displayed, and a mismatch is PRESENTED_HASH_MISMATCH with no reconciliation path: an acknowledgement of a document other than the one on screen is worse than no acknowledgement, because it looks like evidence. The server compares against what it presented to **this party**, not the item's current revision: per-party visibility and correction both mean those can differ, and the current one is the one nobody may have seen. A repeat returns the original, with its original timestamp: the row is evidence and a second click is not a second acknowledgement. **This is not a signature**: it records receipt, carries no intent to be bound, and does not satisfy a must-view requirement. Accepting receipt of something without reading it is exactly what certified delivery records, so the two facts are kept apart.

Authentication Signing session

Request body

  • itemIdstringrequired
  • itemSha256stringrequired

Response 200

The acknowledgement, with the revision and hash it names.

Response fields
  • acknowledgedboolean
  • itemIdstring
  • revisionIdstring
  • itemSha256string
  • acknowledgedAtstringdate-time

Errors

Request
curl -X POST https://api.signrs.com/api/v1/sign/session/acknowledge \
  -H "Authorization: Bearer $SIGNING_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "itemId": "itm_5Qn2wLr6",
    "itemSha256": "911ace9523082a02cc5ad406e09f58a4a02bf07b8f9d44dfc6287e64989a1f3e"
  }'
Response 200
{
  "acknowledged": true,
  "itemId": "itm_5Qn2wLr6",
  "revisionId": "rev_6Hn3kQw8",
  "itemSha256": "911ace9523082a02cc5ad406e09f58a4a02bf07b8f9d44dfc6287e64989a1f3e",
  "acknowledgedAt": "2026-11-03T16:51:04.087Z"
}

POST/sign/session/disclosure/ack

Acknowledge a disclosure

Records that this party said they had read a disclosure. Separate from consent because it is a different act: acknowledging an intent statement or a set of terms is not granting E-Sign consent, which additionally requires the demonstration of access. The client echoes the disclosure's hash and a mismatch is DISCLOSURE_HASH_MISMATCH: a disclosure is never edited in place, so differing hashes mean a stale client rather than a revision. Not gated on canSign: reading is not an act that creates an obligation.

Authentication Signing session

Request body

  • disclosureIdstringrequired
  • sha256stringrequired

Response 200

What was acknowledged, and which version

Response fields
  • acknowledgedboolean
  • disclosureIdstring
  • kindstring
  • versionstring
  • acknowledgedAtstringdate-time

Errors

Request
curl -X POST https://api.signrs.com/api/v1/sign/session/disclosure/ack \
  -H "Authorization: Bearer $SIGNING_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "disclosureId": "dis_6Hn3kQw8",
    "sha256": "911ace9523082a02cc5ad406e09f58a4a02bf07b8f9d44dfc6287e64989a1f3e"
  }'
Response 200
{
  "acknowledged": true,
  "disclosureId": "dis_6Hn3kQw8",
  "kind": "example",
  "version": "example",
  "acknowledgedAt": "2026-11-03T16:51:04.087Z"
}

POST/sign/session/consent

Grant E-Sign consent

demonstrationEventId is required wherever the envelope is consumer-facing, and refusing without it is the point: ESIGN §7001(c)(1)(C) requires consent given in a manner that reasonably demonstrates the consumer can access information in the electronic form that will actually be used. A checkbox on an HTML page demonstrates nothing about PDF access capability, so there is no request shape in which one stands in for the demonstration. B2B envelopes still record consent (an explicit agreement to transact electronically satisfies UETA §5(b)) and there the demonstration may be null. Withdrawal is not this endpoint's inverse; a person withdrawing consent is not mid-signature, so it lives on the account surface.

Authentication Signing session

Request body

  • disclosureIdstringrequired
  • sha256stringrequired
  • scopestringdefault "TRANSACTION"

    One of "TRANSACTION", "CATEGORY"

  • categoryKeystring1 to 128 characters
  • demonstrationEventIdstring or any or nullrequired

Response 201

The consent that was recorded

Response fields
  • grantedboolean
  • consentIdstring
  • disclosureIdstring
  • versionstring
  • scopestring

    One of "TRANSACTION", "CATEGORY"

  • grantedAtstringdate-time

Errors

Request
curl -X POST https://api.signrs.com/api/v1/sign/session/consent \
  -H "Authorization: Bearer $SIGNING_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "disclosureId": "dis_6Hn3kQw8",
    "sha256": "911ace9523082a02cc5ad406e09f58a4a02bf07b8f9d44dfc6287e64989a1f3e",
    "demonstrationEventId": "dem_6Hn3kQw8"
  }'
Response 201
{
  "granted": true,
  "consentId": "con_6Hn3kQw8",
  "disclosureId": "dis_6Hn3kQw8",
  "version": "example",
  "scope": "TRANSACTION",
  "grantedAt": "2026-11-03T16:51:04.087Z"
}