Buying Guides

E-Signature API Evaluation: 7 Checks Before You Integrate

Seven checks that decide whether an e-signature API integration ships: token lifetime, webhook retries, envelope states, national eIDs, errors behind HTTP 200.

eSign.AI Product Evaluation Team12 min read

Why most e-signature API comparisons stop too early

Most e-signature API comparisons start with the same grid: templates, sandbox, SDK languages, whether there is a free tier. Those are the easy questions, and after the first three vendors the answers stop differing.

What actually decides whether an integration ships on schedule — or falls over in month three — is a narrower set of details that rarely make it into a comparison table: how long your access token lives, what happens after the sixteenth failed webhook delivery, which data center your traffic has to hit, and whether the API reports failure in the HTTP status line or buries it in the response body.

The seven checks below surface those details. Each one uses the concrete numbers from the eSign.AI OpenAPI as a worked example, pairs them with how the major alternatives behave on the same axis, and ends with the question to put to any vendor in writing before you commit.

24 hours

eSign.AI access token lifetime

4h 45m

Webhook retry window across 16 attempts

52

National eID and TSP schemes in tspScope

10

Maximum signers per envelope

5 sec

Required webhook acknowledgement time

HTTP 200

Can still carry a failure code in the body

Check 1 — Token lifetime and what the token is actually scoped to

Every e-signature API has an OAuth token endpoint, so the existence of authentication tells you nothing. What matters is how long the token lasts, what happens when it expires mid-batch, and whether the vendor gives you a server-to-server mode that does not require a human to click through a consent screen.

eSign.AI issues tokens at POST /esignglobal/v1/oauth2/accessToken. The access token is valid for 24 hours — the documented response returns expires_in: 86398, and token_type is fixed at Bearer. Three grant types are supported, and they are not interchangeable.

Three grant types with three different lifetimes

Choosing the wrong grant type is the most common structural mistake in an e-signature integration. The table shows what each one returns and how long it stays valid.

Consent requiredReturned scopeValidity
client_credentialsNoFixed at read-writeAccess token 24 h
authorization_codeYes — user authorises in browserRequested scopesAuthorisation valid 365 days
refresh_tokenNo, after initial consentInheritedRefresh token valid 30 days, extendable by refreshing

The content-type trap that costs an afternoon

A backend that sends envelopes on its own schedule — an ERP job, a billing run, an onboarding pipeline — should use client_credentials. Anything where you are acting inside a customer's own account (a marketplace integration, an ISV product) needs authorization_code, and you inherit a 30-day refresh token that has to be extended before it lapses or the customer must re-authorise.

There is one implementation trap worth flagging: the token endpoint requires multipart/form-data. The documentation states plainly that parameters sent in the URL or as a JSON body will not be processed correctly. This is unusual — most OAuth endpoints expect application/x-www-form-urlencoded — and generic OAuth client libraries default to the form-encoded or JSON content type, so the request fails with what looks like a credential error rather than a content-type error.

For comparison, DocuSign's access tokens expire after one hour or eight hours depending on which OAuth flow was used, with standard refresh tokens valid for 30 days. A shorter access token is not inherently worse — it is a smaller blast radius if leaked — but it does mean your retry and refresh logic gets exercised far more often, and any code path that assumes a long-lived token will surface its bug faster on DocuSign than on a 24-hour token.

Ask the vendor: What is the maximum access-token lifetime, is there a server-to-server grant that needs no user consent, what is the refresh-token TTL, and what is the documented behaviour when two processes refresh the same token concurrently?

Check 2 — Data residency and endpoint topology

This is the check most evaluations skip entirely, and it is the one that can invalidate a compliance sign-off after the technical work is done.

eSign.AI runs three production data centers plus a sandbox, and the request domain must match the data center of the workspace the appID belongs to. The domain is not a load-balancing detail you can pick freely: the docs instruct you to select the domain corresponding to the data center shown under Settings, Profile, Data Center for your workspace. Sending EU traffic to the Singapore endpoint is not a latency optimisation, it is a residency violation.

One endpoint per data center — and they are not interchangeable

Sandbox and the three production regions each have a dedicated OpenAPI host. Sandbox and production also use separate app credentials that do not carry over.

EnvironmentRegionData usable for production
openapi-sml.esignglobal.comSandbox—No
openapi-as1.esignglobal.comProductionHong KongYes
openapi-as2.esignglobal.comProductionSingaporeYes
openapi-eu1.esignglobal.comProductionEuropean UnionYes

The residency question that survives an audit

Transport requirements are explicit: HTTPS only, TLS 1.2, UTF-8 encoding throughout. Sandbox and production also have separate app credentials — app_id and app_secret do not carry over when you go live, which is a deployment step that gets forgotten in every project that has one.

The useful question here is not where your servers are but which region you can pin your tenant to, and whether data is replicated across the others. If your customers are in the EU and you are relying on GDPR Article 44 transfer mechanisms, a vendor whose only region is us-east-1 turns a technical integration into a legal project. European eIDAS-qualified signing and APAC eID acceptance frequently point at different regions, so a vendor with a single global endpoint will force a choice you may not be able to make.

Ask the vendor: Which data centers exist, which one will my tenant be pinned to, is data replicated across regions, where are signed PDFs and audit trails stored, and is there a contractual commitment to the residency rather than a configuration default?

Check 3 — The envelope state machine, including the states the docs forget to mention

A signing transaction is an envelope, and the value of an API is largely determined by how honestly it models the envelope lifecycle. Two things matter: whether you can go from nothing to a sent envelope in one call, and whether you can represent every terminal state a real business encounters.

eSign.AI splits the flow into a stepwise mode and a one-call mode. POST /esignglobal/v1/envelope/create creates an envelope in draft (envelopeStatus 0); you then add documents, add signers, and open it with POST /esignglobal/v1/envelope/start. POST /esignglobal/v1/envelope/createAndStart does create, documents, signers and activation in a single request, with automatic activation and automatic completion when the last signer finishes.

The status enum is inconsistent across endpoints — write it from the union

Value 4 is absent from the Create Envelope, Get Signing Url and Download File responses, but appears in Query Envelope Details as Rejected and in the webhook payload as Declined. A switch statement built from the create-endpoint table will hit an unhandled branch the first time a signer declines.

MeaningDocumented inTerminal
0Created / DraftAll endpointsNo
1Signing / In progressAll endpointsNo
2CompletedAll endpointsYes
3ExpiredAll endpointsYes
4Rejected / DeclinedenvelopeDetail and Signer Declined webhook onlyYes
5Revoked / CancelledAll endpointsYes

Two lifecycle rules that shape the UI you build

Once an envelope is opened, signing documents cannot be added or changed. Add Signature Document is documented as valid only while the envelope is not yet opened.

Signers can be added at any time before completion, but only at the end of the workflow — not ahead of someone who is currently signing. An envelope holds a maximum of 10 signers, and the same person (identified by email, or by phone number when no email is given) cannot be added twice at the same signOrder; to correct their details you delete and re-add.

Expiry is configurable per envelope via expireAfterSeconds, bounded between 86,400 seconds (1 day) and 7,776,000 seconds (90 days). That 90-day ceiling matters for construction, insurance and procurement workflows where retention periods run long.

Ask the vendor: Send me the complete status enum as returned by every endpoint, tell me which states are terminal, whether a rejected envelope can be revived, and whether documents can ever be appended after sending.

Check 4 — The webhook delivery contract, in seconds not adjectives

Nobody integrates an e-signature API to poll. Your system learns that a contract was signed from a callback, which means the callback contract is the reliability of your entire product. We retry on failure is not an answer; the retry schedule is.

eSign.AI's callback behaviour is documented down to the interval. Delivery is considered successful when your endpoint returns any HTTP status in the 200 to 299 range; anything else is a failure. On failure the platform retries up to 16 times on this schedule: 10s, 30s, 1m, 2m, 3m, 4m, 5m, 6m, 7m, 8m, 9m, 10m, 20m, 30m, 1h, 2h. The attempt sequence covers 4 hours 45 minutes in total, and the process stops immediately on the first success.

You must respond with a 2xx within 5 seconds. If your business logic needs longer, acknowledge first and process asynchronously. The success body should be exactly {"code":"200","msg":"success"} — the docs warn that the notification service may mis-parse echoed JSON containing spaces or backslashes and then treat a successful delivery as failed, which produces duplicate notifications.

16

Maximum delivery attempts

10s

First retry gap

2h

Final retry gap

4h 45m

Total retry window

5s

Required response time

Why the handler must be idempotent

The parsing warning above is the one that separates a working integration from a haunted one. Combined with at-least-once delivery, it means your handler must be idempotent on the event, keyed on envelope ID plus event type plus a version or timestamp. A handler that assumes exactly-once will double-post to your accounting system eventually.

Event coverage determines what you can build without polling. ENVELOPE_UPDATE carries ENVELOPE_START, ENVELOPE_SIGNER_SIGNED, ENVELOPE_ALL_SIGNER_SIGNED, ENVELOPE_FINISH, ENVELOPE_CANCEL and ENVELOPE_EXPIRED. TEMPLATE carries TEMPLATE_FILL_RESULT. Callbacks are configured per app under Settings, Integrations, Webhook, or per envelope via callBackUrl (max 500 characters) at creation.

Against this, DocuSign Connect retries at roughly five minutes, 10, 20 and 40 minutes, then one and two hours, continuing for about 24 hours before giving up and exposing failed events through an API you can query and replay. The longer window is the differentiator: a four-hour retry budget survives an afternoon outage, a 24-hour budget survives a weekend. Dropbox Sign publishes hard request ceilings instead — 100 requests per minute on standard endpoints, 25 on high-tier endpoints, 10 in test mode — and returns 429 when exceeded.

Ask the vendor: What is the total retry window, is there an API to list and replay failed deliveries, is the payload signed with HMAC so I can verify authenticity, and is delivery guaranteed at-least-once or exactly-once?

Check 5 — Identity verification depth, and which national eIDs you can actually accept

This is the check that separates a document-signing utility from an infrastructure vendor, and it is where regional providers quietly outclass the US incumbents.

eSign.AI exposes seven verification modes per signer through authModes: noAuth (nothing), accessCode (a shared passphrase you set, up to 45 characters), sms (OTP to a mobile number), emailAuth (OTP to an email address), whatsappAuth (OTP over WhatsApp), idVerification (ID document details matched against the document), and digitalId (national digital identity, verified in the issuer's app).

Seven authentication modes and what each one actually proves

The mode you choose determines the evidence in the audit trail, and for regulated workflows it determines whether the signature can reach qualified status at all.

Evidence producedTypical use
noAuthSignature and timestamp onlyLow-risk internal documents
accessCodeShared secret knowledgeStandard commercial agreements
sms / emailAuth / whatsappAuthControl of a phone number or mailboxStandard agreements, cross-border
idVerificationGovernment ID details matched to the recordRegulated onboarding, finance
digitalIdIssuer-verified national identityWhere a QES or KYC mandate applies

tspScope: 52 national eID and trust service schemes

The digitalId mode is bound to specific national schemes with documented input rules. For Singapore's Singpass the ID must match uppercase letter, 7 or 8 digits, uppercase letter; for Hong Kong's iAM Smart it is one or two uppercase letters, then 6 digits, then a check digit that may be a digit or a letter (for example A888888(A)). Passing a malformed identifier is rejected rather than silently degraded, which is the behaviour you want.

Beyond per-signer authentication, tspScope on envelope creation restricts which trust service providers a signer may use. The enum lists 52 entries, including iAmSmart (Hong Kong), singpass, vinotek (Indonesia), vnptSmartCa (Vietnam), mscTrustGate (Malaysia), itsme (Belgium), norwegianBankId and swedenBankId, mitId (Denmark), spid (Italy), idAustriaATrustSignatur, finnishIdCard, estonianMobileId, latvianEParakstsMobile, mojeId (Czechia), eMudhra (India), eCertChile, and a long list of eIDAS-qualified QTSPs such as infoCert, evrotrust, harica, transSped, zealidApp and certEuropeUsbToken.

For an APAC or EU deployment this is not a nice-to-have. A vendor that supports only email OTP and knowledge-based authentication cannot produce a qualified electronic signature where eIDAS or a national trust framework requires one, and cannot meet KYC obligations that specify government-issued digital identity.

Signer-side controls also matter for evidence quality: minimumReadingDuration forces a reading countdown of up to 999 seconds before the sign button activates; readToEndRequired blocks signing until the signer has scrolled to the end; documentVisibility restricts a signer to only their own pages. Notification content can be localised into 16 languages (en-US, zh-CN, zh-Hant, ja-JP, es-MX, pt-PT, th-TH, id-ID, vi-VN, ms-MY, fil-PH, de-DE, fr-FR, ru-RU, it-IT, ko-KR), set per signer rather than per tenant.

Ask the vendor: Which identity schemes are enabled on my tenant today, what evidence does the audit trail record for each, does any mode produce a QES rather than an AES, and can verification results be exported to satisfy a regulator?

Check 6 — The document pipeline, from upload to a signature box in the right place

Everything above is orchestration. This is the part your users see, and it is where most of the integration effort actually goes.

Uploading is a two-step signed-URL flow rather than a file POST. POST /esignglobal/v1/files/getUploadUrl with fileName and contentType returns a fileUploadUrl; you then PUT the raw bytes to that URL. The constraints are specific enough to be worth reading twice.

Upload constraints that fail silently if you miss them

Each of these produces a 4xx rather than a warning, so they surface late in a build unless you test them deliberately.

RequirementFailure mode
FormatPDF only; convert other formats locallyRejected at upload
FilenameMust carry extension; extension must match real typeRejected
Forbidden characters/ \ : * " < > | ? plus emoji, in filenames and userNameRejected
contentTypeMust be identical in both steps403 on the PUT
contentMD5If declared, must resend the same Base64-encoded 128-bit MD5403 on the PUT

Field positioning: the bottom-left origin and the five-keyword ceiling

Placing signature fields is the step that quietly eats sprint time. Two approaches exist. You can pass explicit coordinates, where the origin is the bottom-left corner of the page — the opposite of the top-left convention most PDF and front-end libraries use, so expect a Y-axis flip in your calculations. Or you can let the API find the anchors: POST /esignglobal/v1/files/keywordPositions takes a fileKey and a list of keywords, searches the whole document, and returns their coordinates. It accepts a maximum of five keywords per call, which means a template with twelve anchors needs three round trips unless you cache the results per document hash.

Field types are signature, stamp and approval, each with documented size bounds — signature controls 20 to 250 pixels tall, stamps 30 to 280 pixels — and a required flag. The one control you will not find in US-first vendors is signFieldStyle pagingSeal, a cross-page seal that spans a document edge, which is a standard requirement for company chops across East Asia. There is also a file-level eMeterai control for Indonesian stamp duty, positioned per page.

Retrieval has its own timing: GET /esignglobal/v1/envelope/files/download returns either a zip download link or a file list, and the downloadUrl is valid for 30 minutes. When a watermark has to be composed asynchronously during signing, the response contains only a taskId and no URL at all — your code has to branch on that, or use the download-task-completed callback.

Ask the vendor: Is anything other than PDF supported, how many keyword lookups per call, what is the coordinate origin, are there page-rotation and multi-column edge cases, does the download URL need re-issuing, and how long are signed documents retained after completion?

Check 7 — Error semantics and the throughput numbers nobody publishes

The last check determines how your integration degrades, and it is almost never in the comparison grid.

eSign.AI reports success as code "0" in the response body, and failures as five-digit string codes in the same field. The docs are explicit that you must branch on code, not on the message text, because message strings may change. The consequence for your architecture is significant: a response can carry HTTP 200 and still be a failure. Any retry wrapper keyed on status code 400 and above will mark failed envelope creations as successful and pass a null envelope ID downstream. This is the single most common integration bug in this category, and it is invisible in sandbox testing where everything succeeds.

The error codes that carry business rules, not just failures

Several codes encode product rules you would otherwise discover in production. 120017 is not a rate limit in the classic sense; it limits how aggressively you can chase a signer.

MeaningCorrect handling
120002Illegal request parameterFix the payload; do not retry
120011Signer's documents are not in the document listFix the envelope setup
120017Signing interval is less than 30 minutesSchedule a retry, not an error dialog
120018Signing process has been closedTreat as terminal; no retry
120020Signature verification mismatchEscalate; never auto-retry
120022Only the Sender can operateCheck token and role context
120024Download failed, signing process not finishedWait for completion
120025Download failed, archive not completedPoll or await the download callback

Throughput: the number to get in writing

The resend endpoint enforces the same 30-minute window as code 120017, with the message: You can resend every 30 minutes, please try again 30 minutes later. Both need to be represented in your UI as a scheduled retry rather than an error dialog.

On throughput, the honest position is that published numbers vary wildly in usefulness. Dropbox Sign quantifies per-endpoint limits and returns 429. Adobe Acrobat Sign applies per-hour and per-day transaction limits rather than per-minute ones for bulk sending, and treats uploaded documents as transient with a 7-day lifetime before you must reference them. eSign.AI's public reference documents do not state a per-second QPS figure — which is exactly why it belongs on the vendor questionnaire rather than in an assumption.

Ask the vendor: What is the requests-per-second and burst limit in writing, is throttling signalled by HTTP 429 or by a body code, are idempotency keys supported on create-and-send, and which endpoints are safe to retry automatically?

The twelve questions to send before you sign

Consolidating the seven checks into one email is the fastest way to compress an evaluation from six weeks to one.

1. Maximum access-token lifetime, and is there a no-consent server-to-server grant? 2. Refresh-token TTL, and behaviour on concurrent refresh. 3. Exact content type required by the token endpoint. 4. List of data centers, and which one my tenant will be pinned to. 5. Whether signed documents and audit trails leave that region. 6. The complete envelope status enum across all endpoints, and which values are terminal. 7. Total webhook retry window, and whether failed events can be listed and replayed. 8. Whether webhook payloads are HMAC-signed. 9. Delivery guarantee — at-least-once or exactly-once. 10. Which national eID and TSP schemes are live on my tenant, and which produce a QES. 11. Supported input formats, keyword-lookup limits, and coordinate origin. 12. Published QPS, burst allowance, and how throttling is signalled.

Every one of these has a factual answer. A vendor that responds with adjectives to questions 7, 10 and 12 is telling you something useful about how the next six months will go.

Where to start building

If you are evaluating two or three vendors in parallel against these checks, build in this order — it front-loads the risk.

First, the webhook handler with idempotency, before anything else. It is the piece you cannot retrofit, and it is where vendor differences are largest. Second, the error-code branch, wrapping one real call, so you find out early whether the API signals failure in the body or the status. Third, the token refresh path, including forced expiry, so you never discover a stale-token bug during a launch. Fourth, the document pipeline, last, because it is the most visible and the least risky — placement errors are caught by a human looking at a page, whereas state and delivery bugs are not.

Sandbox credentials are free on every serious platform, including eSign.AI at app-sml.esignglobal.com with the sandbox OpenAPI domain. Do not evaluate an e-signature API by reading its marketing site; the retry schedule and the status enum are the product.

Frequently asked questions

It depends on the vendor and the OAuth flow, which is why it belongs on your questionnaire. eSign.AI issues access tokens valid for 24 hours (expires_in 86398) and supports client_credentials, authorization_code and refresh_token grant types. DocuSign issues tokens valid for one hour or eight hours depending on the flow. A shorter lifetime means refresh logic is exercised more often, so bugs surface earlier.

Team discussing the right eSignature approach for a business

Explore the right eSignature approach for your business

Talk to our team about eSignature requirements, compliance considerations, and document workflows across your target markets.