- Qubitara eSign
- Developers
- Signature requests
Signature requests
This page is for developers who want to send documents for signature from their own systems. It follows a signature request from start to end, as the planned API exposes it. The statuses and options are the same ones you see in the app.
The signature request resource#
A signature request in the API is the same thing that you build in the editor and send from the Sign Request panel. It holds one PDF, an ordered list of recipients, the fields on the document, and the signing options.
{
"id": "sr_01J8Z1ABCXYZ",
"title": "Mutual NDA - Acme Co.",
"status": "sent",
"document": {
"id": "doc_01J8Z0QWERTY",
"name": "mutual-nda.pdf",
"pages": 4,
"sha256": "9f2c...e1"
},
"recipients": [
{
"id": "rcp_01J8Z2AAA",
"role": "signer",
"order": 1,
"name": "Asha Rao",
"email": "[email protected]",
"status": "action_required",
"signature_type": "electronic"
},
{
"id": "rcp_01J8Z2BBB",
"role": "cc",
"name": "Legal",
"email": "[email protected]"
}
],
"fields": [
{
"id": "fld_01J8Z3AAA",
"type": "signature",
"recipient_id": "rcp_01J8Z2AAA",
"page": 4,
"x": 72,
"y": 640,
"width": 180,
"height": 60,
"required": true
}
],
"options": {
"sign_in_order": true,
"deadline": "2026-10-15",
"auto_reminder_days": 2,
"message": "Please sign by 15 October.",
"cc": ["[email protected]"]
},
"created_at": "2026-09-28T09:15:00Z",
"sent_at": "2026-09-28T09:16:12Z",
"finalized_at": null
}All field names are planned and may change.
Statuses#
The API status values match the badges and filter chips in the app. What you see in Sent and Inbox matches what the API returns.
API | Shown in the app as | Meaning |
|---|---|---|
| Draft (Documents) | Created but not sent. Editable. |
| Pending (Sent) | Sent to recipients; at least one signer has not finished. |
| Finalized (Sent, Inbox) | All signers completed. Completed PDF and audit certificate available. |
| Voided (Inbox) | Sender cancelled the request. |
| Expired (Sent, Inbox, Documents) | Signing deadline passed before completion. |
Each recipient also has a status (the signer side):
Recipient | Shown to the signer as | Meaning |
|---|---|---|
| not yet visible | Sign in Order is on and an earlier signer has not finished. |
| Action Required (Inbox) | It is this signer's turn. |
| Action Required | Signer opened the document but has not signed. |
| Finalized once all sign | Signer completed their fields. |
| Not decided | Signer refused. |
The five request statuses match the app. The app shows no Declined tab, so the declined status may not exist at release.
Lifecycle#
draft ──send──▶ sent ──all signed──▶ finalized
│ └──void──▶ voided
└──deadline passes──▶ expiredUpload a PDF.
Create the request with recipients, fields and options. You can also do steps 1 and 2 in one call.
Send the request. At this point a signing credit is used and the emails go out.
Track the status with webhooks or with
GET.Remind the signers, or void the request if you need to.
Download the finalized PDF and the audit certificate.
Step 1: Upload the PDF#
You can send only PDF files for signature. The Documents library in the app accepts Word, image and other files. But if you send one of them for signature, it fails with "Failed to parse PDF".
The API is planned to reject a document that is not a PDF. It is not decided whether this happens when you create the request or when you send it.
Convert other formats to PDF first. Use Doc Utilities in the app or your own tools. See Known limitations.
curl -X POST "https://<org>.esign.qubitara.com/api/v1/documents" \
-H "Authorization: Bearer $QUBITARA_API_KEY" \
-F "[email protected]" \
-F "name=Mutual NDA - Acme Co."{
"id": "doc_01J8Z0QWERTY",
"name": "Mutual NDA - Acme Co.",
"type": "pdf",
"pages": 4,
"size_bytes": 118342,
"sha256": "9f2c...e1",
"status": "draft",
"created_at": "2026-09-28T09:14:40Z"
}The planned endpoint is POST /documents. The plan is that the uploaded document appears in the Documents library with status Draft.
Step 2: Create the signature request#
curl -X POST "https://<org>.esign.qubitara.com/api/v1/signature-requests" \
-H "Authorization: Bearer $QUBITARA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Mutual NDA - Acme Co.",
"document_id": "doc_01J8Z0QWERTY",
"recipients": [
{ "role": "signer", "order": 1, "name": "Asha Rao", "email": "[email protected]" },
{ "role": "signer", "order": 2, "name": "Ben Ito", "email": "[email protected]" },
{ "role": "cc", "name": "Legal", "email": "[email protected]" }
],
"fields": [
{ "type": "signature", "recipient": 0, "page": 4, "x": 72, "y": 640, "width": 180, "height": 60, "required": true },
{ "type": "date", "recipient": 0, "page": 4, "x": 300, "y": 640, "width": 120, "height": 24, "auto_fill": true },
{ "type": "signature", "recipient": 1, "anchor": { "text": "/sig_ben/", "x_offset": 0, "y_offset": -10 }, "width": 180, "height": 60 },
{ "type": "text", "recipient": 1, "page": 1, "x": 100, "y": 200, "width": 200, "height": 24, "label": "Company", "required": true }
],
"options": {
"sign_in_order": true,
"deadline": "2026-10-15",
"auto_reminder_days": 2,
"message": "Please sign by 15 October."
},
"send": false
}'The planned endpoint is POST /signature-requests. The response is the full resource with "status": "draft".
Recipients#
Property | Values | Maps to in the app |
|---|---|---|
|
| Signer list, or CC |
| integer, starting at 1 | Position in the signer list; used when Sign in Order is on |
| optional string | Signer name |
| required | Signer email |
|
| Drawn or typed, Aadhaar eSign, or Digital Signature (PKI/DSC) field |
| boolean on the request | I need to sign this document |
All of these properties are planned. The plan is that recipients with the same order sign at the same time when sign_in_order is true.
Fields#
The field type values match the field panel in the editor:
Group |
|
|---|---|
Signing |
|
Form |
|
Advanced |
|
Requests in an Organization Workspace can use Advanced fields. On the free plan of a Personal Workspace, Advanced fields need a paid plan. In that case the API is planned to return 403 with code plan_required.
You can place a field in one of two ways:
By page and coordinates:
page(1-based),x,y,width,heightin PDF points (1/72 inch). The planned origin is the top-left of the page. The origin and the units may change.By anchor text:
anchor.textis a string that the API looks for in the PDF. The field goes at the first match on any page, moved byanchor.x_offsetandanchor.y_offsetpoints. Use a hidden marker in your document, such as white text/sig_ben/. If the API does not find the anchor, the request is planned to fail with422 anchor_not_found.
Other planned field properties: required (default true for signing fields), label, default_value, options (array, for radio and dropdown), auto_fill (for date).
Options#
Option | Type | App equivalent |
|---|---|---|
| boolean | Sign in Order |
|
| Signing Deadline |
|
| Auto Reminders |
| string | Message to Signers |
| array of emails | CC (alternative to |
It is not decided whether cc stays in options or only in the recipients list. The released API is planned to keep one of the two.
Step 3: Send#
curl -X POST "https://<org>.esign.qubitara.com/api/v1/signature-requests/sr_01J8Z1ABCXYZ/send" \
-H "Authorization: Bearer $QUBITARA_API_KEY"{ "id": "sr_01J8Z1ABCXYZ", "status": "sent", "sent_at": "2026-09-28T09:16:12Z" }The planned endpoint is POST /signature-requests/{id}/send. The plan is that you can also set "send": true on the create call to create and send in one step.
The API applies the same checks as the Send button in the app. The request needs at least one signer and at least one field. If not, the API returns 422 validation_failed.
Sending uses a signing credit. With no credits left, the API is planned to return 402 insufficient_credits. Sending emits signature_request.sent (see Webhooks) and writes "Signature Request Sent" to the audit trail.
For how credits work, see Billing.
Step 4: Track#
curl "https://<org>.esign.qubitara.com/api/v1/signature-requests/sr_01J8Z1ABCXYZ" \
-H "Authorization: Bearer $QUBITARA_API_KEY"This call is planned to return the full resource. It includes the status, viewed_at and signed_at of each recipient.
List requests:
curl "https://<org>.esign.qubitara.com/api/v1/signature-requests?status=sent&limit=50" \
-H "Authorization: Bearer $QUBITARA_API_KEY"The planned endpoint is GET /signature-requests. It takes the filters status, created_after, created_before and q, and uses cursor pagination. See Authentication for pagination.
Step 5: Remind#
curl -X POST "https://<org>.esign.qubitara.com/api/v1/signature-requests/sr_01J8Z1ABCXYZ/remind" \
-H "Authorization: Bearer $QUBITARA_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "recipient_ids": ["rcp_01J8Z2AAA"], "message": "Gentle reminder." }'The planned endpoint is POST /signature-requests/{id}/remind.
Leave out
recipient_idsto remind every recipient whose status isaction_required.The plan is to allow one reminder per recipient per 24 hours. This is in addition to any Auto Reminders schedule.
The API returns
409 invalid_stateif the request is notsent.
Step 6: Void#
curl -X POST "https://<org>.esign.qubitara.com/api/v1/signature-requests/sr_01J8Z1ABCXYZ/void" \
-H "Authorization: Bearer $QUBITARA_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "reason": "Terms changed; a new version will be sent." }'{ "id": "sr_01J8Z1ABCXYZ", "status": "voided", "voided_at": "2026-09-29T11:02:00Z", "void_reason": "Terms changed; a new version will be sent." }The planned endpoint is POST /signature-requests/{id}/void.
You can void only a
sentrequest. Afinalized,voidedorexpiredrequest returns409 invalid_state.The plan is that signers see the document as Voided in their Inbox and receive a notification.
The call emits
signature_request.voided.
The plan is that you cannot edit a request after you send it. To change the signers, the fields or the document, void the request and create a new one. It is not known whether the app lets you edit a sent request.
Step 7: Download the completed PDF and audit certificate#
You can download when status is finalized.
# Completed, sealed PDF
curl -L "https://<org>.esign.qubitara.com/api/v1/signature-requests/sr_01J8Z1ABCXYZ/download" \
-H "Authorization: Bearer $QUBITARA_API_KEY" -o signed.pdf
# Audit certificate (PDF)
curl -L "https://<org>.esign.qubitara.com/api/v1/signature-requests/sr_01J8Z1ABCXYZ/audit-certificate" \
-H "Authorization: Bearer $QUBITARA_API_KEY" -o audit-certificate.pdf
# Audit events as JSON
curl "https://<org>.esign.qubitara.com/api/v1/signature-requests/sr_01J8Z1ABCXYZ/events" \
-H "Authorization: Bearer $QUBITARA_API_KEY"All three paths are planned. The plan is that /download does one of two things:
It responds with a
302to a signed URL that is valid for 15 minutes.It streams the file directly.
Follow redirects so that your code handles both. A download request before the request is finalized is planned to return 409 document_not_finalized.
The audit events JSON has the same columns as the Audit Trail page: event, description, user, IP and time. For the fields that an audit certificate should hold, see Security.
Delete a draft#
curl -X DELETE "https://<org>.esign.qubitara.com/api/v1/signature-requests/sr_01J8Z1ABCXYZ" \
-H "Authorization: Bearer $QUBITARA_API_KEY"The planned endpoint is DELETE /signature-requests/{id}. The planned rules are:
You can delete only
draftrequests.You must void a sent request. You cannot delete it.
When you delete a draft, the uploaded document stays.
Complete example in Node.js#
const BASE = `https://${process.env.QUBITARA_ORG}.esign.qubitara.com/api/v1`;
const headers = { Authorization: `Bearer ${process.env.QUBITARA_API_KEY}` };
// 1. Upload
const form = new FormData();
form.append("file", new Blob([await fs.promises.readFile("nda.pdf")], { type: "application/pdf" }), "nda.pdf");
const doc = await (await fetch(`${BASE}/documents`, { method: "POST", headers, body: form })).json();
// 2 + 3. Create and send
const sr = await (await fetch(`${BASE}/signature-requests`, {
method: "POST",
headers: { ...headers, "Content-Type": "application/json" },
body: JSON.stringify({
title: "NDA",
document_id: doc.id,
recipients: [{ role: "signer", order: 1, name: "Asha Rao", email: "[email protected]" }],
fields: [{ type: "signature", recipient: 0, page: 1, x: 72, y: 640, width: 180, height: 60 }],
options: { deadline: "2026-10-15", auto_reminder_days: 3 },
send: true
})
})).json();
console.log(sr.id, sr.status); // "sent"Every path and property in this example is planned and may change.
Next steps#
Webhooks: learn when a request is viewed, signed, finalized, voided or expired.
Templates API: create requests from a template, so that you do not place fields each time.
Embedded signing: let signers sign inside your app.
Sign Request panel: the same options in the app.