Skip to content
Docs
Qubitara eSign

Signature requests

Updated Version 1ESIGN-48

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.

json
{
  "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 status

Shown in the app as

Meaning

draft

Draft (Documents)

Created but not sent. Editable.

sent

Pending (Sent)

Sent to recipients; at least one signer has not finished.

finalized

Finalized (Sent, Inbox)

All signers completed. Completed PDF and audit certificate available.

voided

Voided (Inbox)

Sender cancelled the request.

expired

Expired (Sent, Inbox, Documents)

Signing deadline passed before completion.

Each recipient also has a status (the signer side):

Recipient status

Shown to the signer as

Meaning

waiting

not yet visible

Sign in Order is on and an earlier signer has not finished.

action_required

Action Required (Inbox)

It is this signer's turn.

viewed

Action Required

Signer opened the document but has not signed.

signed

Finalized once all sign

Signer completed their fields.

declined

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#

text
draft ──send──▶ sent ──all signed──▶ finalized
                 │  └──void──▶ voided
                 └──deadline passes──▶ expired
  1. Upload a PDF.

  2. Create the request with recipients, fields and options. You can also do steps 1 and 2 in one call.

  3. Send the request. At this point a signing credit is used and the emails go out.

  4. Track the status with webhooks or with GET.

  5. Remind the signers, or void the request if you need to.

  6. 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.

bash
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."
json
{
  "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#

bash
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

role

signer, cc

Signer list, or CC

order

integer, starting at 1

Position in the signer list; used when Sign in Order is on

name

optional string

Signer name

email

required

Signer email

signature_type

electronic (default), aadhaar_otp, dsc

Drawn or typed, Aadhaar eSign, or Digital Signature (PKI/DSC) field

include_sender

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

type

Signing

signature, initials, stamp, date, digital_signature

Form

text, paragraph, checkbox

Advanced

radio, dropdown, image, attachment

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, height in 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.text is a string that the API looks for in the PDF. The field goes at the first match on any page, moved by anchor.x_offset and anchor.y_offset points. 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 with 422 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

sign_in_order

boolean

Sign in Order

deadline

YYYY-MM-DD

Signing Deadline

auto_reminder_days

1, 2, 3, 5, 7 or null

Auto Reminders

message

string

Message to Signers

cc

array of emails

CC (alternative to role: "cc" recipients)

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#

bash
curl -X POST "https://<org>.esign.qubitara.com/api/v1/signature-requests/sr_01J8Z1ABCXYZ/send" \
  -H "Authorization: Bearer $QUBITARA_API_KEY"
json
{ "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#

bash
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:

bash
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#

bash
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_ids to remind every recipient whose status is action_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_state if the request is not sent.

Step 6: Void#

bash
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." }'
json
{ "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 sent request. A finalized, voided or expired request returns 409 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.

bash
# 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 302 to 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#

bash
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 draft requests.

  • You must void a sent request. You cannot delete it.

  • When you delete a draft, the uploaded document stays.

Complete example in Node.js#

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#