Skip to article
API v1 · Development version

From draft to evidence package

Local API implementation using the existing signing engine; pilot gates remain.

Not a production release

The reference describes implemented code. Signing workflow, billing and customer webhooks remain unfinished. This documentation does not activate access.

Implemented locally

POST/GET /v1/signing-cases, GET/PATCH /v1/signing-cases/{id} and participant management are implemented locally. Drafts are free and all participants are required. Keys access only API-created cases in their own company and environment. Verified document attachment, dispatch and cancellation are implemented locally. Company authority checks and authorized evidence export are also implemented locally. Private upload and background validation are described under Documents.

Using drafts

Create with title and deadline (YYYY-MM-DD), optionally message, external_id, metadata and participants. Metadata permits ten string fields, keys up to 64 and values up to 500 characters. Provide personal_number for optional identity checking; it is never returned in responses.

List using limit (1–100) and next_cursor; filter by status, created_after, created_before and external_id. Date filters are exclusive UTC timestamps ending in Z. Keep filters unchanged when using a cursor. This is a live list, not a snapshot. All draft mutations return the full case, its participants and ETag.

The runnable Node example scripts/enterprise-draft-example.mjs in the repository demonstrates all eight operations. Run only against a configured, approved test deployment with cases:read and cases:write. The local browser demo does not activate the API. The script sends no invitations and makes no charges.

Attach documents and send

Attachment/detachment requires documents:write, Idempotency-Key and current If-Match. Only verified files belonging to this API draft can be attached. Then POST /v1/signing-cases/{id}/send without a body, using cases:send and the same header types. A 202 response and Location identify a durable operation. Agreement, capacity, reservation and invitation jobs commit atomically.

GET /v1/operations/{id} requires cases:read for invitation_dispatch and documents:read for document_verification. Dispatch succeeded means the mail provider accepted all initial invitations. Ordered signing may still have later steps. Follow the case separately for signing status and evidence readiness. Consumption is confirmed on the first provider acceptance, not draft creation.

POST /v1/signing-cases/{id}/cancel requires cases:cancel, Idempotency-Key and current If-Match, with no body. Unsigned cases restore their original API period. scripts/enterprise-dispatch-example.mjs demonstrates attachment, dispatch and polling on a configured test deployment. Example cancellation is explicitly selected using SIGNERAD_CANCEL_AFTER_DISPATCH=true.

Engine rules to reuse

The existing engine supports one or more required participants, signers and reviewers, and ordered steps with parallel participants within a step. Partially signed is not completed. BankID is used for signing, not account login.

Completion, errors and cancellation

Originals remain unchanged. A separate certificate and evidence package are prepared after signing; these are not PAdES signatures embedded in PDFs. Retries and cancellation must preserve engine integrity and refund rules.

Was this article helpful?

Quick feedback for this page view.

Updated 2026-10-24 · 1.0.0-dev.8

Search documentation

12 results