API reference
Sending
Prepare and send an envelope, resend an invitation, get a signing link, extend or decline for a party.
POST/envelopes/{id}/prepare
Run the prepare stage
DRAFT only. An explicit call rather than something distribute does on the way past: hiding it there puts a slow, failure-prone transformation inside a call whose failure a caller reads as "my envelope was not sent". Each of the four steps is conditional on the document, and a PDF with no AcroForm needs none of them: its PREPARED revision carries the same bytes as ORIGINAL, referencing the same immutable object. A document that needs a step this deployment cannot perform is PREPARATION_UNSUPPORTED, naming the step, rather than passed through: marking an unflattened form as PREPARED means signing a document whose field values a later editor can still change. Nothing is written unless every item can be prepared.
Authentication API token or Sender session
Parameters
idpath · stringrequiredIdempotency-Keyheader · stringScoped to (organisation, key), TTL 24 hours. Replaying with the same body returns the original response with Idempotency-Replayed: true; a different body returns 409 IDEMPOTENCY_KEY_REUSED.
Response 200
What preparing did, per item
Response fields
envelopeIdstringitemsarray of objectitemIdstringrevisionIdstringalreadyPreparedboolean
stepsAppliedarray of string
Errors
curl -X POST https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/prepare \
-H "Authorization: Bearer $SIGNRS_TOKEN"{
"envelopeId": "env_8kR4tZp1",
"items": [
{
"itemId": "itm_5Qn2wLr6",
"revisionId": "rev_6Hn3kQw8",
"alreadyPrepared": true
}
],
"stepsApplied": [
"CONVERT"
]
}POST/envelopes/{id}/distribute
Send for signing
A DRAFT document only: a TEMPLATE is instantiated, never sent (ENVELOPE_TYPE_MISMATCH). Every precondition is reported at once rather than one refusal per request: at least one SIGNER or APPROVER, every SIGNER with a signature field, every field pointing at a party and document on this envelope, and every document carrying a PREPARED revision from POST .../prepare. Party tokens are returned only for method "NONE", for the caller to distribute; they are returned once and only their hashes are stored, so a caller who loses a link resends rather than looks it up. method "EMAIL" queues an invitation to each party and returns no links: each link is minted when its email is sent, and exists only in that email. partyExpiryDays is where a deadline is set: it becomes parties.expiresAt = sentAt + days here, computed once against the moment of sending. Omitted means no deadline, which is the system default: a default deadline would be this system deciding when a customer's contracts stop being signable. signingOrderMode SEQUENTIAL enforces each party's signingOrder: only the first step is contacted now, and each later step when the one before it completes. Parties sharing a number sign together. Under NONE every link is returned at once with turnArrived, and a link whose turn has not arrived is refused with SIGNING_ORDER_VIOLATION until it has. reminders sets a schedule, EMAIL only: the first firstAfterHours after a party is invited, then every repeatEveryHours (at least 24), for 30 days from sending, to parties who have not finished and whose turn has arrived. Each reminder carries a new link, and earlier links stop working. Absent means no reminders.
Authentication API token or Sender session
Parameters
idpath · stringrequiredIdempotency-Keyheader · stringScoped to (organisation, key), TTL 24 hours. Replaying with the same body returns the original response with Idempotency-Replayed: true; a different body returns 409 IDEMPOTENCY_KEY_REUSED.
Request body
methodstringdefault "EMAIL"One of
"EMAIL","NONE"subjectstringat most 500 charactersmessagestringat most 5000 characterspartyExpiryDaysinteger1 to 3650signingOrderModestringdefault "PARALLEL"One of
"PARALLEL","SEQUENTIAL"remindersobjectfirstAfterHoursintegerrequired1 to 720repeatEveryHoursinteger24 to 720
Response 200
Distributed, with the signing links where method is NONE
Response fields
envelopeobjectidstringtypestringOne of
"DOCUMENT","TEMPLATE"statusstringOne of
"DRAFT","PENDING","SEALING","SEAL_FAILED","COMPLETED","DECLINED","CANCELLED","EXPIRED"titlestringexternalIdstring or any or nullorganisationIdstringteamIdstring or any or nullownerIdstringcreatedAtstringdate-timeupdatedAtstringdate-timesentAtstring or any or nullcompletedAtstring or any or nullexpiresAtstring or any or null
methodstringOne of
"EMAIL","NONE"linksarray of objectpartyIdstringrolestringOne of
"SIGNER","APPROVER","VIEWER","ASSISTANT","CC","WITNESS","NOTARY"namestring or any or nullemailstring or any or nullsigningOrderintegerat least -9007199254740991urlstringturnArrivedbooleanexpiresAtstring or any or null
Errors
curl -X POST https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/distribute \
-H "Authorization: Bearer $SIGNRS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"method": "EMAIL"
}'{
"envelope": {
"id": "env_8kR4tZp1",
"type": "DOCUMENT",
"status": "DRAFT",
"title": "Ruiz Landscaping services agreement",
"externalId": "ext_6Hn3kQw8",
"organisationId": "org_5Wq2mBn8",
"teamId": "tea_6Hn3kQw8",
"ownerId": "own_6Hn3kQw8",
"createdAt": "2026-11-03T16:51:04.087Z",
"updatedAt": "2026-11-03T16:51:04.087Z",
"sentAt": "2026-11-03T16:51:04.087Z",
"completedAt": "2026-11-03T16:51:04.087Z",
"expiresAt": "2026-11-03T16:51:04.087Z"
},
"method": "EMAIL"
}POST/envelopes/{id}/parties/{partyId}/extend-expiry
Move a party's deadline later
An absolute timestamp, never a duration: "extend by seven days" has two plausible bases (from now, or from the deadline they already have) and they differ by however long the request sat in an inbox. It may only move later, because a deadline someone was told about is a promise and taking time back is a different act. A party with no deadline cannot be extended into having one: that is a restriction wearing the name of a grant. An EXPIRED party can be extended and returns to PENDING: the ordinary case, since a signer who missed the deadline is exactly who asks for more time; party.expired stays in the trail beside it.
Authentication API token or Sender session
Parameters
idpath · stringrequiredpartyIdpath · stringrequiredIdempotency-Keyheader · stringScoped to (organisation, key), TTL 24 hours. Replaying with the same body returns the original response with Idempotency-Replayed: true; a different body returns 409 IDEMPOTENCY_KEY_REUSED.
Request body
expiresAtstringrequireddate-timereasonstring1 to 1000 characters
Response 200
The deadline before and after
Response fields
partyIdstringstatusstringpreviousExpiresAtstringdate-timeexpiresAtstringdate-time
Errors
curl -X POST https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/parties/pty_3Hd7cVx9/extend-expiry \
-H "Authorization: Bearer $SIGNRS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"expiresAt": "2026-11-03T16:51:04.087Z"
}'{
"partyId": "pty_3Hd7cVx9",
"status": "example",
"previousExpiresAt": "2026-11-03T16:51:04.087Z",
"expiresAt": "2026-11-03T16:51:04.087Z"
}POST/envelopes/{id}/parties/{partyId}/resend
Issue a party a fresh signing link
The endpoint an EMAIL-delivered caller has instead of a link: distribute returns none for such a party, because the token is minted in the sending process and lands only in the inbox. Resend necessarily issues a NEW token and the previous link stops working. That is not a policy choice: nothing in the system can reproduce the old one. What it does with the new token follows the envelope: an EMAIL envelope queues the same invitation job distribute writes and returns no url (delivery "QUEUED": nothing has left the building yet); a NONE envelope mints and returns the link, as distribute did, because that caller took custody. A party that was never given a link (CC, VIEWER) has none to resend, and a COMPLETED, DECLINED or EXPIRED party is refused: a fresh token for an expired party is a link that looks live and is rejected the moment it is used. Under sequential routing an EMAIL resend to a party whose turn has not arrived is SIGNING_ORDER_VIOLATION: that is somebody the sender chose not to contact yet.
Authentication API token or Sender session
Parameters
idpath · stringrequiredpartyIdpath · stringrequiredIdempotency-Keyheader · stringScoped to (organisation, key), TTL 24 hours. Replaying with the same body returns the original response with Idempotency-Replayed: true; a different body returns 409 IDEMPOTENCY_KEY_REUSED.
Response 200
What was done, and the link when the caller holds custody
Response fields
partyIdstringstatusstringdeliverystringOne of
"QUEUED","ISSUED"urlstring or any or nullexpiresAtstring or any or nullpreviousLinkInvalidatedboolean
Errors
curl -X POST https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/parties/pty_3Hd7cVx9/resend \
-H "Authorization: Bearer $SIGNRS_TOKEN"{
"partyId": "pty_3Hd7cVx9",
"status": "example",
"delivery": "QUEUED",
"url": "example",
"expiresAt": "2026-11-03T16:51:04.087Z",
"previousLinkInvalidated": true
}GET/envelopes/{id}/parties/{partyId}/signing-link
The state of a party's signing link
A party token is generated at distribute, returned once, and never stored: only its hash. There is therefore no URL to return here, and a signingLink field would have to be either a lie or a re-issue disguised as a read. What this answers is the question an operator actually asks: whether a token was issued, when it expires, whether the party has opened it, and whether it would work right now. A consequence worth knowing: resend cannot send the same link, because nothing in the system can produce it.
Authentication API token or Sender session
Parameters
idpath · stringrequiredpartyIdpath · stringrequired
Response 200
Whether this party has a live link, and until when
Response fields
partyIdstringrolestringOne of
"SIGNER","APPROVER","VIEWER","ASSISTANT","CC","WITNESS","NOTARY"statusstringissuedbooleanexpiresAtstring or any or nullopenedAtstring or any or nullusableboolean
Errors
curl https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/parties/pty_3Hd7cVx9/signing-link \
-H "Authorization: Bearer $SIGNRS_TOKEN"{
"partyId": "pty_3Hd7cVx9",
"role": "SIGNER",
"status": "example",
"issued": true,
"expiresAt": "2026-11-03T16:51:04.087Z",
"openedAt": "2026-11-03T16:51:04.087Z",
"usable": true
}POST/envelopes/{id}/parties/{partyId}/decline
Record a refusal on a party's behalf
For a refusal the owner learned out of band: the signer telephoned, emailed, or said so in a meeting. Works on a party who has not opened their link, which the party's own decline does not. The reason is required here and optional when a party declines for themselves: an owner asserting somebody else's refusal is making a claim about another person, and it is worth little without saying what it rests on. Declining halts the envelope (any party declining moves it to DECLINED) so this terminates the whole thing, not one party's participation. A CC or VIEWER has nothing to refuse (VALIDATION_FAILED), and a party already in a terminal status is not re-decided by asserting it again.
Authentication API token or Sender session
Parameters
idpath · stringrequiredpartyIdpath · stringrequiredIdempotency-Keyheader · stringScoped to (organisation, key), TTL 24 hours. Replaying with the same body returns the original response with Idempotency-Replayed: true; a different body returns 409 IDEMPOTENCY_KEY_REUSED.
Request body
reasonstringrequired1 to 1000 characters
Response 200
Declined, with the envelope it halted
Response fields
envelopeobjectidstringtypestringOne of
"DOCUMENT","TEMPLATE"statusstringOne of
"DRAFT","PENDING","SEALING","SEAL_FAILED","COMPLETED","DECLINED","CANCELLED","EXPIRED"titlestringexternalIdstring or any or nullorganisationIdstringteamIdstring or any or nullownerIdstringcreatedAtstringdate-timeupdatedAtstringdate-timesentAtstring or any or nullcompletedAtstring or any or nullexpiresAtstring or any or null
partyobjectidstringrolestringOne of
"SIGNER","APPROVER","VIEWER","ASSISTANT","CC","WITNESS","NOTARY"statusstringdeclineReasonstring
sessionsEndedinteger
Errors
curl -X POST https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/parties/pty_3Hd7cVx9/decline \
-H "Authorization: Bearer $SIGNRS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"reason": "example"
}'{
"envelope": {
"id": "env_8kR4tZp1",
"type": "DOCUMENT",
"status": "DRAFT",
"title": "Ruiz Landscaping services agreement",
"externalId": "ext_6Hn3kQw8",
"organisationId": "org_5Wq2mBn8",
"teamId": "tea_6Hn3kQw8",
"ownerId": "own_6Hn3kQw8",
"createdAt": "2026-11-03T16:51:04.087Z",
"updatedAt": "2026-11-03T16:51:04.087Z",
"sentAt": "2026-11-03T16:51:04.087Z",
"completedAt": "2026-11-03T16:51:04.087Z",
"expiresAt": "2026-11-03T16:51:04.087Z"
},
"party": {
"id": "env_8kR4tZp1",
"role": "SIGNER",
"status": "example",
"declineReason": "example"
},
"sessionsEnded": 1
}