- Qubitara eSign
- Developers
- Authentication
Authentication
This page is for developers who plan to call the Qubitara eSign REST API. It describes the planned rules for authentication and requests, so that you can design your integration early.
API keys#
An API key is a secret that your server sends with each call. Each key belongs to one organization. The plan is that you create and revoke keys under Settings → SYSTEM → Integrations.
Planned behavior:
Property | Planned value |
|---|---|
Scope | One organization (the |
Who can create | Owner or Admin role |
Format | Opaque string with a recognisable prefix, for example |
Visibility | Shown once at creation; stored hashed |
Rotation | Create a second key, migrate, then revoke the first. Revocation is immediate |
Audit | Key creation, revocation and API-originated actions appear in Audit Logs with the key name as the actor |
This page covers API keys only. It does not cover OAuth 2.0.
Request headers#
The plan is that you send the key as a bearer token.
curl "https://<org>.esign.qubitara.com/api/v1/signature-requests" \
-H "Authorization: Bearer $QUBITARA_API_KEY" \
-H "Accept: application/json"Header | Required | Purpose |
|---|---|---|
| Yes | Authenticates the request |
| For JSON bodies | Request body encoding. File uploads use |
| Recommended | Response encoding |
| Optional | Safe retry of |
| Response only | Echo this value when contacting support |
Most e-signature APIs do not offer idempotency keys on create calls. If Qubitara eSign does not support Idempotency-Key at release, check for an existing request before you retry a POST.
Environments#
Environment | Host | Notes |
|---|---|---|
Production |
| Observed base URL pattern |
Sandbox | Not decided | Either a separate host or a |
It is not decided whether test requests use signing credits. See Billing for how credits work.
Rate limits#
A rate limit is the largest number of calls you can make in a period of time. The planned behavior follows common industry practice:
Limits are planned to apply per organization and per API key.
Every response is planned to carry
X-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Reset(Unix epoch seconds).When you go over the limit, the API is planned to return HTTP
429 Too Many Requestswith aRetry-Afterheader (seconds).Do not poll one signature request more often than once every few minutes. Use Webhooks for status changes.
This example handles 429 in Node.js:
const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.QUBITARA_API_KEY}` } });
if (res.status === 429) {
const wait = Number(res.headers.get("Retry-After") ?? 5);
await new Promise(r => setTimeout(r, wait * 1000));
// retry with exponential backoff, cap attempts
}Error responses#
The plan is that every error returns a JSON body. The body has a stable code for your program and a message for people.
{
"error": {
"code": "validation_failed",
"message": "recipients[0].email is not a valid email address",
"request_id": "req_01J8Z1ABCXYZ",
"details": [
{ "field": "recipients[0].email", "issue": "invalid_format" }
]
}
}HTTP status |
| Meaning |
|---|---|---|
400 |
| Malformed JSON or unknown parameter |
401 |
| Missing, revoked or invalid API key |
402 |
| Organization has no signing credits left. See Billing |
403 |
| Key lacks permission, or the resource belongs to another organization |
404 |
| Resource does not exist or is not visible to this key |
409 |
| Action not allowed in the current status, for example voiding a Finalized request |
415 |
| Upload is not a PDF (see Known limitations) |
422 |
| Semantically invalid, for example no signer or no field |
429 |
| Slow down, honour |
500 |
| Retry with backoff; include |
503 |
| Maintenance; retry later |
Every row in this table is planned and may change. The 402 row comes from a fact seen in the product: you need signing credits to send. The API may report this as 402, 403 or 422.
Pagination#
List endpoints return results in pages. The planned shape uses a cursor (a marker that points to the next page):
GET /api/v1/signature-requests?limit=50&cursor=eyJpZCI6...{
"data": [ { "id": "sr_01J8Z...", "status": "sent" } ],
"has_more": true,
"next_cursor": "eyJpZCI6..."
}Parameter | Default | Max |
|---|---|---|
| 25 | 100 |
| none | Opaque; pass |
These filters are planned for list endpoints: status, created_after, created_before, and q for name search.
Timestamps, IDs and encoding#
The plan is:
Timestamps are ISO 8601 in UTC with a
Zsuffix, for example2026-09-28T09:15:00Z.Resource IDs are opaque strings. Do not parse them.
File content in JSON bodies is base64. For large files, use the multipart upload endpoint.
Requests and responses are UTF-8.
Security checklist for integrators#
Store keys in a secrets manager and load them at run time.
Use one key for each integration. You can then revoke one key without an effect on the others.
Rotate keys when a team member with access leaves.
Verify every webhook signature before you trust a payload. See Webhooks.
Review Audit Logs in the Organization Workspace for events that come from the API. See Audit trail.
Next steps#
Signature requests: create and send your first request.
Webhooks: receive status changes without polling.
Security: how the platform protects documents and credentials.