API guide
For websites and systems that send documents to their own users and want WriteSign to run the signing: InCorp InSys sending a service of process acceptance to a client, or UltraDb sending a test report through its tested, reviewed and sealed chain. The integrating system keeps its own accounts. WriteSign verifies each signer (a code texted to the mobile number you supply, plus the link you hand to your signed-in user or that WriteSign emails), runs the ceremony on any device, seals the result, and reports back.
Base URL https://www.writesign.com/api/v1. JSON in, JSON out. Auth header Authorization: Bearer ws_live_... for real documents or Authorization: Bearer ws_test_... for the sandbox. Errors are { "error": "<code>", "message": "<plain words>" } with a 4xx status; every code is listed under Error codes below. A 500 answers server_error. Documents are text with field tokens in this release; uploaded PDFs come in the next one.
Keys and modes
Sign in at https://www.writesign.com/login/, open Settings on the dashboard, and under Developer create a Live key or a Test key. The key is shown once. The same can be done on a signed-in session with POST /api/keys {"name":"insys","mode":"live"} (mode is live or test; left out, it is live); GET /api/keys lists names, prefixes and modes; DELETE /api/keys/:id revokes.
- A live key (
ws_live_) sends real documents. A live key works only on atrustedaccount: WriteSign reviews an account for live API use on request through the contact page. Until then a live send answers 403account_not_approved. (Sending from the dashboard needs no review: see Sending limits below.) - A test key (
ws_test_) works in the sandbox, described next, on an account at any level. - If a recipient reports a document and WriteSign pauses the account, live sends answer 403
account_pauseduntil the report is reviewed. Reading still works, and so does the sandbox. GET /meshows the account's level asaccount.trust(new,established,trustedorpaused).GET /meanswers{ account, key_id, mode }.
The sandbox
Everything made with a test key is test data for life.
- No text message and no email is ever sent for a test envelope, to signers or to the sender.
- The signer's code is always
000000. - Signing links work in a browser exactly like live ones. Every send and resend answer carries
signing_urlfor the signers whose turn it is, underdeliver: "email"as well asdeliver: "link", because nothing is emailed. In a sequential test envelope the next signer's link always comes from resend. - The sealed PDF says on every page and on its certificate that it is a test document with no legal effect. The public verify page and
GET /api/verify/:code("test": true) say the same. - Test and live never mix. A test key sees only test documents, envelopes, webhooks, events and deliveries; a live key sees only live ones. Asking for the other kind by id answers 404
not_found. - Signers are validated as in live mode: each needs a name, an email and a mobile number. Nothing is sent to them.
- Registering a webhook needs a
trustedaccount in both modes. Until then, pollGET /events. - Test envelopes, their documents, files, events and deliveries are deleted 30 days after the envelope was created.
- On the dashboard, test documents carry a Test label and stay out of the list unless "Show test documents" (Settings, Developer) is on.
Forcing an event
POST /sandbox/envelopes/:id/force drives a test envelope to a state without a browser.
{ "event": "signer.completed", "signer_id": "optional" }
| Event | What happens | signer_id |
|---|---|---|
signer.completed | One signer whose turn it is finishes: fields filled with test values, a test signature applied. If that was the last signer, the envelope seals and completes. | Optional. Default: the first signer whose turn it is. |
envelope.completed | Every signer who has not signed finishes, in order, and the envelope seals. | Not used. |
envelope.declined | One signer whose turn it is declines with the reason "Forced by the sandbox." | Optional, same default. |
envelope.expired | The envelope expires now. | Not used. |
To force a void, call the ordinary POST /envelopes/:id/void. A forced event runs the same code as real signing: the same ledger entries (after one sandbox.forced entry), the same seal, the same webhooks. The answer is the envelope.
Refusals: a live key or a live envelope answers 403 sandbox_only. An unknown event answers 400 force_invalid. A draft or closed envelope answers 409 envelope_state. A signer_id that has signed answers 409 already_signed; one whose turn has not come answers 409 not_your_turn; an unknown one answers 404 not_found.
Documents
POST /documents {"title": "...", "body": "..."} answers { id, title, doc_hash, roles, fields, test }. Body syntax: # heading, ## subheading, - bullet, 1. numbered item, a blank line between paragraphs, and inline fields [[signature:signer1]], [[initials:signer1]], [[date:signer1]], [[text:signer1:Label]], [[checkbox?:signer1:Label]] (? marks a field optional). Roles are signer1 to signer9. A document is immutable once created; its hash roots the evidence chain. Accepts an Idempotency-Key.
GET /documents/:id answers { id, title, body, doc_hash, roles, fields, test, created_at }.
Envelopes
Create and send
POST /envelopes
{ "document_id": "...", "order_mode": "sequential", "deliver": "link", "reference": "ultradb:42:9001:chain",
"message": "optional", "expires_days": 14, "send": true,
"signers": [{ "role": "signer1", "label": "Tested by", "name": "Ada Lovelace", "email": "[email protected]", "mobile": "+17025550101" }] }
- Every role in the document needs exactly one signer with a name, an email and a mobile number.
order_mode:parallel(default, everyone at once) orsequential(in role order,signer1first).deliver: "email"(default): WriteSign emails each signer the link.deliver: "link": no email; the answer carriessigning_urlfor each signer whose turn it is, once (the raw link is never stored), for your system to open or send. The signer still gets the text code on the mobile given. The ledger and the certificate record that the link went through the sender's own system.referenceis your own id, up to 120 characters: searchable, filterable, echoed in every webhook.expires_days: 1 to 90, default 14.send: falsecreates a draft forPOST /envelopes/:id/send.- Accepts an
Idempotency-Key(so does send).
The envelope object
{ "id": "01j...", "title": "Test report 9001", "status": "sent", "test": true, "order_mode": "sequential", "delivery": "link",
"reference": "ultradb:42:9001:chain", "verify_code": "ABCD-EFGH-JKMN", "verify_url": "https://www.writesign.com/verify/?code=ABCD-EFGH-JKMN",
"created_at": "...", "sent_at": "...", "completed_at": null, "voided_at": null, "void_reason": null, "void_note": null, "expires_at": "...",
"signers": [{ "id": "01j...", "role": "signer1", "label": "Tested by", "name": "Ada Lovelace", "email": "[email protected]", "status": "sent",
"completed_at": null, "declined_at": null, "decline_reason": null, "signing_url": "https://www.writesign.com/sign/?t=..." }],
"seal": null, "download_url": null, "send_failures": [] }
Envelope status: draft, sent, in_progress, sealing, completed, declined, voided, expired. seal is { pdf_sha256, sealed_at } once complete. send_failures is present on create and send only.
When an email cannot be sent
If one signer's email fails at send, the envelope is still out and the other signers have theirs. Create and send then answer 207 with the full envelope and
"send_failures": [{ "signer_id": "01j...", "email": "[email protected]", "error": "email_failed", "message": "We could not send the email. Check the address and try again in a minute." }]
Fix the listed signers with resend. Do not create the envelope again. A send with no failure answers 200 with "send_failures": []. (Before release R1 this case answered 502 with no envelope id.)
List
GET /envelopes with any of status, reference (exact match), q (searches title, signer names and emails, verify code and reference), created_after, created_before (ISO 8601 times), limit (default 25, at most 100), cursor.
The answer is { "items": [...], "next_cursor": "..." }, newest first. Items are envelope objects without signing_url, seal, download_url and send_failures. Pass next_cursor back as cursor for the next page; it is null on the last one.
Get, send, resend, void, download
GET /envelopes/:idanswers the envelope object.POST /envelopes/:id/sendsends a draft.POST /envelopes/:id/resend {"signer_id":"..."}gives one signer whose turn it is a fresh link: emailed under email delivery, returned as that signer'ssigning_urlunder link delivery. Withorder_mode: "sequential"and link delivery this is how you get each later signer's link: whensigner.completedarrives (orGET /envelopes/:idshows the earlier signer completed), call resend for the next one. Earlier links for the same signer keep working until the envelope closes.POST /envelopes/:id/void {"reason":"document_revised","note":"Result reopened by the reviewer"}cancels an envelope that is not complete.reasonisdocument_revised,sent_in_errororother; left out, it isother.noteis optional, up to 200 characters. Both are stored, written to the ledger, returned asvoid_reasonandvoid_note, shown on the sender's detail page and carried in theenvelope.voidedwebhook. A sealed envelope cannot be voided: a revised document is a new document and a new envelope.GET /envelopes/:id/pdfanswers the sealed PDF.
Role labels
Each signer may carry label, up to 40 characters: "Tested by", "Reviewed by", "PE seal", "Witnessed by". Role keys stay signer1 to signer9 and still set the signing order. The label is stored, written to the ledger when the envelope is created, returned wherever a signer is returned, shown to the signer in the ceremony ("You are signing as: Reviewed by"), and printed beside the signer's name in the signature block and on the certificate page. A label that is too long or has control characters answers 400 label_invalid. The same person may hold consecutive slots (the same email and mobile on two signers); each slot signs separately with its own link.
Idempotency
POST /documents, POST /envelopes and POST /envelopes/:id/send accept the header Idempotency-Key: <1 to 128 printable ASCII characters>. Use one key per logical request and repeat it on a retry.
- The same key with the same request (method, path and body, byte for byte) within 24 hours returns the first answer again, with the header
Idempotent-Replayed: true. Nothing is created or sent a second time. - The same key with a different request answers 409
idempotency_conflict. - The same key while the first request is still running answers 409
idempotency_in_progress. Retry in a moment. - A key that is empty, too long or not printable ASCII answers 400
idempotency_key_invalid. - Keys belong to the account and the mode of the API key. A test key and a live key never collide.
- Only answers with a 2xx status are kept (207 included). A request that failed can be retried under the same key.
- A replayed answer has
signing_url: nullfor every signer. WriteSign never stores a raw signing link, so the link from the first answer cannot be shown again; call resend for a fresh one.
Webhooks
POST /webhooks {"url":"https://..."} answers { id, url, secret, mode } (the secret is shown once; trusted accounts only). GET /webhooks lists them and DELETE /webhooks/:id removes one. A webhook belongs to the mode of the key that made it: one made with a test key receives only test events, one made with a live key only live events.
Events
| Event | When |
|---|---|
signer.completed | A signer finished. Sent for every signer, the last one included, before envelope.completed. |
envelope.completed | Everyone signed and the document is sealed. |
envelope.declined | A signer declined; the envelope is closed. |
envelope.voided | The sender canceled it. |
envelope.expired | It passed its expiry before everyone signed. |
Headers
| Header | Value |
|---|---|
X-WriteSign-Event | The event name. |
X-WriteSign-Timestamp | Unix time in seconds when this attempt was sent. |
X-WriteSign-Signature-V2 | HMAC-SHA256(secret, timestamp + "." + rawBody), hex. |
X-WriteSign-Signature | HMAC-SHA256(secret, rawBody), hex. The original signature, kept for existing receivers. |
X-WriteSign-Delivery | The delivery id, for redelivery. |
Check the V2 signature: compute the HMAC over the timestamp header, a dot and the raw body exactly as received, compare in constant time, and refuse a timestamp more than five minutes from your own clock. The timestamp is fresh on every attempt. A receiver that accepts the original signature alone can be replayed against, because it covers no time.
Payload
{ "id": "01j...", "event": "signer.completed", "created_at": "2026-11-14T20:01:02.000Z", "at": "2026-11-14T20:01:02.000Z",
"test": true, "reference": "ultradb:42:9001:chain",
"signer": { "id": "01j...", "role": "signer2", "label": "Reviewed by", "name": "Grace Hopper", "completed_at": "2026-11-14T20:01:02.000Z" },
"envelope": { "id": "01j...", "title": "Test report 9001", "status": "in_progress", "reference": "ultradb:42:9001:chain", "verify_code": "ABCD-EFGH-JKMN",
"completed_at": null, "declined_at": null, "voided_at": null, "void_reason": null, "void_note": null, "download_url": null, "seal": null },
"signers": [{ "id": "01j...", "role": "signer1", "label": "Tested by", "name": "Ada Lovelace", "email": "[email protected]", "status": "completed",
"completed_at": "...", "declined_at": null, "decline_reason": null }] }
idis the event id. It is the same on every retry and on every webhook of the account: record it and ignore an id you have already processed.created_atis when the event happened (atholds the same value, kept for existing receivers).signeris present onsigner.completedonly.envelope.void_reasonandenvelope.void_noteare set onenvelope.voided. A signer who declined carriesdecline_reason.
Delivery and retries
Deliveries leave within about five minutes of the event. Answer 2xx within 10 seconds. Anything else is retried, up to 10 attempts in all. The waits after a failed attempt are 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 2 hours, 4 hours, 6 hours and 10 hours, so the last attempt falls about 24 hours after the first. Deliveries leave on a five-minute tick, so each wait can run up to five minutes long. After the tenth failure the delivery is abandoned; it can still be redelivered.
Polling and replay
GET /events with since (an event id, or an ISO 8601 time; events after it are returned) and limit (default 50, at most 100). Events are kept for 90 days after they happen and are then removed from this list, so read them within that time. The signed document and its record are not affected: they are kept permanently.
{ "items": [{ "id": "01j...", "event": "signer.completed", "created_at": "...", "test": true, "envelope_id": "01j...", "reference": "...",
"payload": { "id": "01j...", "event": "signer.completed" },
"deliveries": [{ "id": "01j...", "webhook_id": "01j...", "status": "delivered", "attempts": 1, "last_status": 200, "delivered_at": "..." }] }],
"next_since": "01j...", "has_more": false }
Oldest first. payload is exactly the webhook body. next_since is always the place to continue from: the id of the last event returned, or your own since when nothing new exists; store it and pass it as since next time. has_more: true means another page is waiting now. Events are recorded whether or not a webhook is registered, for every envelope of the account in the key's mode. A delivery's status is pending, delivered, failed or abandoned.
POST /webhooks/deliveries/:id/redeliver queues that delivery again from attempt one, with the same event id and body, and answers { "ok": true, "id": "...", "status": "pending" }.
Verification
Anyone can confirm a document at https://www.writesign.com/verify/?code=XXXX-XXXX-XXXX or by uploading the PDF there. GET /api/verify/:code is public and needs no key (note the path: /api/verify, not /api/v1). It answers { found, title, status, completed_at, signers, seal: { verifies, chain_ok, signature_ok, pdf_sha256, sealed_at } }, plus "test": true and a test_notice for a test document.
Rate limits
A live key may make 3,000 calls an hour and a test key 30,000. Over the limit the answer is 429 rate_limited with a Retry-After header in seconds and the same number as retry_after in the body.
Sending limits
Separately from the call limit, every account has a limit on the documents it sends, set by its level. Test envelopes are never counted and never limited. Canceled envelopes still count.
| Level | Sent in any 24 hours | Sent in any 30 days | Signers per envelope | Live API keys and webhooks |
|---|---|---|---|---|
new | 5 | 30 | 3 | No |
established | 50 | 500 | 10 | No |
trusted | 500 | 10,000 | 25 | Yes |
An account becomes established by itself once at least 3 of its documents have been completed by at least 3 different people and it is at least 3 days old. WriteSign sets trusted, and may set other numbers for one account.
- Over a limit, a send answers 429
send_limitwithlimit,sent,window(dayor30_days) andfrees_at, the time the oldest counted send leaves the window. Create-and-send writes nothing when it is refused. - Too many signers answers 400
signers_limitwithlimit. - A
newaccount may not put a link or a web address in the message, the document title or a signer's name (400message_link_refused, withwhere). The document body may contain links.
Python client
clients/python/writesign.py in the WriteSign repository is one file with no dependencies beyond the standard library (Python 3.9 or later). Copy it into your project.
from writesign import WriteSign, verify_webhook, WriteSignError
ws = WriteSign("ws_test_...")
doc = ws.create_document("Test report 9001", "Tested by [[signature:signer1]] [[date:signer1]]")
env = ws.create_envelope(doc["id"], deliver="link", reference="job:9001", idempotency_key="env-9001-v1", signers=[
{"role": "signer1", "label": "Tested by", "name": "Ada Lovelace", "email": "[email protected]", "mobile": "+17025550101"}])
env = ws.force(env["id"], "envelope.completed") # sandbox only
pdf = ws.download_pdf(env["id"])
# In your webhook route, with the raw request body:
event = verify_webhook(secret, request.headers, raw_body, tolerance=300)
It covers every call on this page, adds an Idempotency-Key to creates and sends (pass your own to retry safely from another process), and raises WriteSignError or a subclass (Unauthorized, Forbidden, NotFound, Conflict, RateLimited with .retry_after) carrying the error code in .code. verify_webhook checks the V2 signature and the five-minute tolerance, and accepts the original signature only when called with allow_v1=True. clients/python/example_ultradb.py plays the example below against a base URL and a test key from the environment.
Worked example: a three-signer chain in the sandbox
All calls carry Authorization: Bearer ws_test_.... Ids are shortened.
1. POST /documents Idempotency-Key: doc-9001-v1
{ "title": "Test report 9001", "body": "# Test report 9001\n\nTested by [[signature:signer1]] [[date:signer1]]\n\nReviewed by [[signature:signer2]] [[date:signer2]]\n\nPE seal [[signature:signer3]] [[date:signer3]]" }
-> 200 { "id": "doc_1", "roles": ["signer1","signer2","signer3"], "test": true }
2. POST /envelopes Idempotency-Key: env-9001-v1
{ "document_id": "doc_1", "order_mode": "sequential", "deliver": "link", "reference": "ultradb:42:9001:chain",
"signers": [
{ "role": "signer1", "label": "Tested by", "name": "Ada Lovelace", "email": "[email protected]", "mobile": "+17025550101" },
{ "role": "signer2", "label": "Reviewed by", "name": "Ada Lovelace", "email": "[email protected]", "mobile": "+17025550101" },
{ "role": "signer3", "label": "PE seal", "name": "Grace Hopper", "email": "[email protected]", "mobile": "+17025550103" } ] }
-> 200 { "id": "env_1", "status": "sent", "test": true, "send_failures": [],
"signers": [ { "id": "s1", "signing_url": "https://www.writesign.com/sign/?t=..." }, { "id": "s2", "signing_url": null }, { "id": "s3", "signing_url": null } ] }
Open signing_url in a browser to walk the ceremony by hand (code 000000), or force it:
3. POST /sandbox/envelopes/env_1/force { "event": "signer.completed" }
-> 200 { "id": "env_1", "status": "in_progress", "signers": [ { "id": "s1", "status": "completed" }, ... ] }
4. Your webhook receives signer.completed (or read it from GET /events):
{ "id": "evt_1", "event": "signer.completed", "test": true, "reference": "ultradb:42:9001:chain",
"signer": { "id": "s1", "role": "signer1", "label": "Tested by", "name": "Ada Lovelace" }, "envelope": { "id": "env_1", "status": "in_progress" } }
5. POST /envelopes/env_1/resend { "signer_id": "s2" }
-> 200 { ..., "signers": [ ..., { "id": "s2", "label": "Reviewed by", "signing_url": "https://www.writesign.com/sign/?t=..." }, ... ] }
6. POST /sandbox/envelopes/env_1/force { "event": "envelope.completed" }
-> 200 { "id": "env_1", "status": "completed", "seal": { "pdf_sha256": "..." }, "download_url": ".../envelopes/env_1/pdf" }
7. Your webhook receives, in this order: signer.completed (s2), signer.completed (s3), envelope.completed.
GET /envelopes/env_1/pdf is the sealed PDF; its pages and certificate say it is a test document.
8. POST /envelopes again with Idempotency-Key: env-9001-v1 and the same body (as after a timeout)
-> 200, header Idempotent-Replayed: true, the step 2 answer with every signing_url null. No second envelope exists.
The same key with a different body -> 409 idempotency_conflict.
Error codes
Every code the service can answer with, the HTTP status, and the message. The API calls on this page use the ones about keys, documents, envelopes, idempotency and the sandbox; the rest belong to the signing pages and the dashboard and are listed so that nothing you may see is undocumented.
| Code | Status | Message |
|---|---|---|
unauthenticated | 401 | Please sign in to continue. |
email_invalid | 400 | That email address does not look right. Check it and try again. |
mobile_invalid | 400 | Enter a mobile number that can receive text messages, including the country code, for example +1 702 555 0100. |
sign_link_invalid | 400 | This signing link is not valid. Open the most recent email from WriteSign about this document, or ask the sender to resend it. |
email_failed | 502 | We could not send the email. Check the address and try again in a minute. |
link_invalid | 400 | That link is not valid. Ask for a new one from the sign-in page. |
link_used | 400 | That link has already been used. Ask for a new one from the sign-in page. |
link_expired | 400 | That link has expired. Ask for a new one from the sign-in page. |
link_required | 400 | Open the link from your email in this browser first, then enter the code here. |
challenge_expired | 400 | This sign-in attempt has expired. Start again from the sign-in page. |
code_wrong | 400 | That code is not right. Check the text message and try again. |
code_locked | 429 | Too many wrong codes. Wait 15 minutes, then start again. |
code_invalid | 400 | Enter the 6-digit code from the text message. |
device_unknown | 400 | Sign in with your email address and mobile number to continue on this device. |
health_unauthorized | 401 | That health check needs its access token. |
captcha_failed | 400 | The security check did not pass. Reload the page and try again. |
rate_limited | 429 | Too many attempts from this number or connection in the last hour. Please wait and try again. |
verify_rate_limited | 429 | Too many verification checks from this connection in the last hour. Please wait a while and try again. |
download_expired | 410 | This download link has expired. Verify the document with the code on its certificate, or ask the sender for a copy. |
sms_failed | 502 | We could not send the text message. Check the mobile number and try again. |
not_found | 404 | We could not find that. |
account_not_approved | 403 | A live API key works only on a trusted account. Build and test with a test key (ws_test_), and ask us through the contact page at https://www.writesign.com/contact/ to review the account for live API use. |
account_paused | 403 | Sending is paused while we review a report from a recipient. Reply through the contact page if this is a mistake. |
account_blocked | 403 | This account is closed. If you think this is a mistake, reach us through the contact page at https://www.writesign.com/contact/. |
send_limit | 429 | This account has reached its sending limit for now. The answer says the limit and when it frees up. |
signers_limit | 400 | This document has more signers than this account can send to. The answer says the limit. |
message_link_refused | 400 | New accounts cannot put a link or web address in the message, the document title or a signer name, because those appear in the email we send for you. Remove it and send again. The document itself can contain links. |
email_disposable | 400 | That email address is from a temporary mail service, which we cannot accept. Use your regular work or personal address. |
mobile_in_use | 409 | That mobile number is already on the most accounts we allow for one number. Use a different mobile number, or sign in to one of the existing accounts. |
signup_limit | 429 | Too many new accounts were created from this connection today. Please try again tomorrow. |
report_invalid | 400 | Choose a reason for the report: not expecting it, looks like a scam, or other. Keep the note to 500 characters. |
already_reported | 409 | You have already reported this document. The link has been turned off and nothing more is needed from you. |
report_rate_limited | 429 | Too many reports from this connection in the last hour. Please wait a while and try again. |
document_invalid | 400 | The document has a problem. See the messages below. |
signers_incomplete | 400 | Every signer role used in the document needs exactly one signer with a name, email and mobile number. |
fields_incomplete | 400 | A few required fields are still empty. Complete them and finish again. |
signature_required | 400 | Adopt a signature first, then apply it to the field. |
field_frozen | 409 | This value was already in the document when another party signed it, so it can no longer be changed. If it is wrong, ask the sender to cancel this document and send a corrected one. |
envelope_state | 409 | This document is not in a state that allows that action. |
not_your_turn | 409 | This document is being signed in order and it is not your turn yet. You will get an email when it is. |
envelope_declined | 410 | This document was declined by a signer and is closed. |
envelope_voided | 410 | The sender canceled this document. The link no longer works. |
envelope_expired | 410 | This document expired before it was completed. Ask the sender to send it again. |
envelope_completed | 410 | This document is already complete. Check your email for the signed copy. |
already_signed | 409 | You have already signed this document. |
consent_required | 409 | Agree to sign electronically before the document opens. |
code_required | 409 | Enter the code from the text message first. |
bad_request | 400 | Something in that request was not understood. |
passkey_challenge | 400 | That passkey request has expired. Try again. |
passkey_unknown | 400 | That passkey is not registered with WriteSign. Sign in with your email and add it again from the dashboard. |
passkey_failed | 400 | That passkey could not be checked. Try again, or sign in with your email. |
passkey_counter | 400 | That passkey looks like a copy of one used before, so it was not accepted. Sign in with your email, remove the passkey in Settings and add it again. |
passkey_limit | 409 | This account already has 10 passkeys. Remove one before adding another. |
passkey_exists | 409 | That passkey is already on a WriteSign account. |
push_invalid | 400 | This device did not give a usable notification address. Turn notifications off and on again on this device. |
push_none | 409 | Notifications are not turned on for any device on this account. |
push_failed | 502 | The test could not be delivered. Turn notifications off and on again on this device, then send another test. |
push_rate_limited | 429 | Too many test notifications in the last hour. Please wait and try again. |
push_unavailable | 503 | Notifications are not available right now. Nothing else is affected. |
file_invalid | 400 | Upload the PDF you want to check. |
sandbox_only | 403 | That call works only with a test key (ws_test_) on a test envelope. Nothing was changed. |
force_invalid | 400 | Name the event to force: signer.completed, envelope.completed, envelope.declined or envelope.expired. |
idempotency_conflict | 409 | That Idempotency-Key was already used for a different request. Use a new key for a new request. |
idempotency_in_progress | 409 | The first request with that Idempotency-Key is still running. Try again in a moment. |
idempotency_key_invalid | 400 | The Idempotency-Key header must be 1 to 128 printable ASCII characters. |
label_invalid | 400 | A signer label can be up to 40 characters of plain text, for example Reviewed by. |
void_reason_invalid | 400 | Give the reason as document_revised, sent_in_error or other, or leave it out. |
Limits
| Thing | Limit |
|---|---|
| Calls per key | 3,000 an hour live, 30,000 an hour test |
| Signers per envelope | 9 |
| Document title, body | 200 characters, 60,000 characters |
Signer label | 40 characters |
Void note | 200 characters |
reference | 120 characters |
Idempotency-Key | 128 characters, kept 24 hours |
List limit | 100 |
Events limit | 100 |
| Envelope expiry | 1 to 90 days, default 14 |
| Webhook attempts | 10 over about 24 hours, 10 seconds each |
| Test data | Deleted 30 days after the envelope was created |
Events (GET /events) | Kept for 90 days |