API reference
Documents and uploads
Upload a PDF, attach it to an envelope, rename, remove or download it.
POST/uploads
Request a presigned upload target
The URL is bound to the declared length and type, both signed into it, so a PUT carrying different bytes is refused by storage rather than reconciled afterwards. A declared sha256 is signed in too. The response is the whole credential: the URL is not stored and not retrievable a second time.
Authentication API token or Sender session
Parameters
Idempotency-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
filenamestringrequired1 to 255 charactersmimeTypestringrequired1 to 255 charactersbyteLengthintegerrequiredsha256string
Response 201
The handle and its presigned target
Response fields
uploadIdstringurlstringurimethodstringheadersobjectexpiresAtstringdate-time
Errors
curl -X POST https://api.signrs.com/api/v1/uploads \
-H "Authorization: Bearer $SIGNRS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"filename": "ruiz-landscaping-services-agreement.pdf",
"mimeType": "application/pdf",
"byteLength": 2492
}'{
"uploadId": "upl_7Bv3mTq2",
"url": "https://example.com/hooks/signrs",
"method": "PUT",
"headers": {},
"expiresAt": "2026-11-03T16:51:04.087Z"
}PATCH/envelopes/{id}/items/{itemId}
Rename or move an item
Positions stay dense and ordered from zero: moving the third document to the front renumbers the two it passed. A caller supplies only the position they want and never has to know the others changed, which is why the whole list comes back. A position past the end means last.
Authentication API token or Sender session
Parameters
idpath · stringrequireditemIdpath · 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
filenamestring1 to 255 characterspositionintegeruploadIdstring
Response 200
Every item, in its new order
Response fields
itemsarray of objectidstringpositionintegerfilenamestringmimeTypestringpageCountinteger or any or null
fieldsReanchoredinteger
Errors
curl -X PATCH https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/items/itm_5Qn2wLr6 \
-H "Authorization: Bearer $SIGNRS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"filename": "ruiz-landscaping-services-agreement.pdf"
}'{
"items": [
{
"id": "env_8kR4tZp1",
"position": 1,
"filename": "ruiz-landscaping-services-agreement.pdf",
"mimeType": "application/pdf",
"pageCount": 1
}
]
}DELETE/envelopes/{id}/items/{itemId}
Remove an item from a draft
The item's fields go with it and the response says how many. The upload behind it is released only where no revision outside this item references the same object, because a copy of the envelope points at the same bytes. Removing the last item is allowed: an envelope with no documents is a legitimate draft, and "at least one document" is a distribute precondition.
Authentication API token or Sender session
Parameters
idpath · stringrequireditemIdpath · 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 removed
Response fields
idstringfieldsRemovedintegeruploadsReleasedinteger
Errors
curl -X DELETE https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/items/itm_5Qn2wLr6 \
-H "Authorization: Bearer $SIGNRS_TOKEN"{
"id": "env_8kR4tZp1",
"fieldsRemoved": 1,
"uploadsReleased": 1
}GET/envelopes/{id}/items/{itemId}/download
Download an item
Serves the bytes of one revision. stage picks which; omitted, it serves the item's current revision: the most complete version that exists. Download is never inhibited: no response carries a header, wrapper or content type intended to prevent saving, printing or copying, because UETA 8(b) makes a record unenforceable against a recipient whose ability to print or store it was inhibited. The ETag is the revision's recorded SHA-256, so a caller can check what they received without a second call. A stage nobody has produced is NOT_FOUND rather than an empty body.
Authentication API token or Sender session
Parameters
idpath · stringrequireditemIdpath · stringrequiredstagequery · string
Response 200
The document bytes
Errors
curl https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/items/itm_5Qn2wLr6/download \
-H "Authorization: Bearer $SIGNRS_TOKEN""example"