Add e-signature and document generation to your product with one API.
One call sends the document, one call reads its status. Clients for Java, PHP and Node/TypeScript, plus a full Swagger reference.
API access on every plan, including the free one.
Typed clients for the stack you already run
All three are generated from the same OpenAPI document as the REST API, so every endpoint in Swagger is a method in your language.
REST + Swagger
Any other language: call the REST API directly. Every endpoint, model and enum is in the reference.
From your app to a signed PDF in four steps
Your product owns the user experience. DocStudio handles signing, the audit trail and the archive.
Mint a token
Create an application token with POST /api/v1/token. You choose the name and the expiry date; revoke it any time.
Send a document
Upload a PDF with quick-send, or generate the document from a template filled with your data.
Recipient signs
The signer opens an email link and signs on any device. No DocStudio account, nothing to install.
Get the result
A callback tells your backend the status changed. The signed PDF and audit trail stay in the archive.
Generate the document from your data, not a static PDF
Build a template once in the DocStudio editor: fields, signer roles and signing order. Your code creates an envelope from it, fills the fields with values from your database and sends it.
- Reusable template and role IDs — the same call works for every customer
- Fields filled through the API — names, amounts, dates, tables
- Your own metadata on each envelope — your order or customer ID travels with the document
- Several signers and approval steps — in the order the template defines
Stop polling. Get a POST when the document is signed.
Register a callback with a filter: by status, template, sender, label or your own metadata. When an envelope matches, DocStudio sends its UUID and status to your endpoint.
- Retries on timeouts and 5xx — you set the count and the timeout
- Optional Basic authentication — on the request to your endpoint
- Test before going live — check an envelope against the filter or send a test delivery
Statuses: SENT WAITING ON_APPROVAL COMPLETED CANCELLED EXPIRED. Callbacks guide →
curl -X POST \ https://api.docstudio.com/api/v1/envelope/callback/add \ -H "Authorization: Bearer $DOCSTUDIO_TOKEN" \ -H "Mailbox: $MAILBOX_UUID" \ -H "Content-Type: application/json" \ -d '{ "url": "https://your-app.com/hooks/docstudio", "filter": { "status": ["COMPLETED"] }, "retries": 3, "timeout": 5000, "successCode": 200 }'
{
"uuid": "7c1e2d4b-…-a90f",
"status": "COMPLETED",
"subject": "Your agreement",
"label": [],
"receiveDate": "2026-11-30T18:04:11Z",
"expireDate": null,
"template": "…",
"sender": "…",
"mailbox": "…"
}
Six examples. Set a token and run them in order.
Each client repository has an examples/ folder with the same six scenarios in Java, PHP and Node.
Selling signing to your own customers? Partner with us.
Two partner programs fit software vendors. Tell us how you plan to use DocStudio and we'll send the program overview with the commission structure.
Build DocStudio into your product
Your customers sign and store documents inside your app, powered by the DocStudio API.
- Commissions on the licenses your customers buy
- Technical help with the integration
- One API for signing, templates and the archive
Run DocStudio under your brand
Own and operate a branded version of the platform, with full control over design and domain.
- Your brand on the app and on every email signers receive
- Your domain
- The same API underneath
The questions your customers' legal and IT teams will ask
ESIGN Act
Electronic signatures are valid in the U.S. under 15 U.S.C. § 7001. Every signed document gets a signing certificate and a full audit trail.
ISO/IEC 27001 & 27018
Certified information security management and protection of personal data in the cloud.
E-archive included
Every document sent through the API stays searchable — at least 5 years on the free plan, longer on paid plans.
Scoped tokens
Application tokens carry an expiry date, can be listed and revoked, and never require sending a password again.
Send your first document through the API today
Create a free account and you have API access straight away. A DocStudio engineer will follow up to help with your use case.
Free Basic plan: 5 documents a month · paid plans from 50- 01 · sign upCreate a free DocStudio account
- 02 · tokenMint an application token:
POST /api/v1/token - 03 · sendRun
04-send-for-signaturefrom the examples
Questions developers ask first
Where is the API documentation?
Guides and quick starts are on developers.docstudio.com, and the full API reference is on Swagger. Ready-made clients are available for Java, PHP and Node/TypeScript.
How do I get an API key?
Create a free DocStudio account, then mint an application token with POST /api/v1/token. You set its name and expiry date, and the token value is returned once — store it server-side. Send it as Authorization: Bearer {token} (guide).
Do I need a template to send a document?
No. The quick-send endpoint takes a PDF and a list of recipients in one call. Use templates when you want to generate documents from your own data with reusable fields and roles.
How do I know when a document is signed?
Register an envelope callback with a filter, for example status COMPLETED. DocStudio POSTs a JSON payload with the envelope UUID and status to your URL, and retries on timeouts and 5xx responses. You can also read the status at any time with GET /api/v1/envelope/{uuid}.
Where are documents created through the API kept, and for how long?
In your DocStudio e-archive, with search and filters, available through the API and the web app — for at least 5 years on the free plan and longer on paid plans.
Are signatures created through the API legally binding?
Yes. Electronic signatures are valid in the U.S. under the federal ESIGN Act (15 U.S.C. § 7001). Every signed document comes with a signing certificate and a full audit trail.
Is my data secure?
DocStudio is certified to ISO/IEC 27001 and ISO/IEC 27018.
Which plans include API access?
All of them, including the free Basic plan. Other integrations — SFTP, AS2 and AS4 — are available on higher plans.