LumiCodex API
E-signature
Send documents for electronic signature: create an envelope, add documents and recipients, send it, and collect signed files with a sealed certificate of completion.
How it works
An envelope is the unit of signing. It holds the documents to sign, the
recipients who act on them, and the sender identity shown in emails and in the signing
app. Envelopes live under the same account as albums — an envelope is a container with
subType: "envelope" — but they have their own endpoints under
/accounts/{accountId}/envelopes.
There are two ways to send:
Recipients never call your application. Each one receives a link to the hosted signing app, opens the documents, and signs or declines there. If you build your own signing interface, the endpoints it needs are in Signing.
Envelope lifecycle
created. Once it has been
sent, upload, recipient, sender, and send calls return
409 Conflict with { "status": "completed", "message": … }.
Check first with GET …/envelopes/{envelopeId}/recipients/{recipientId} or,
from an agent, the envelopes_is_editable tool.
Listing envelopes
Envelopes appear in the account's container list. Read
GET /accounts/{accountId}/containers and keep the entries whose
subType is "envelope".
Create an envelope
en, fr,
es, de, it, pt). A recipient's own
lang overrides it.
0 sequential (default) — each recipient is invited after the previous one
signs. 1 parallel — everyone is invited at once. See the note below.
0, a magic link by email. Full list in
Reference.
The response is an EnvelopeData record. Keep id — it is the envelopeId in every later call.
A new envelope expires 30 days after creation, and unsigned recipients are reminded every 5 days, at most twice. Recipients cannot open the signing link after the expiry date.
signatureOrder: 1. Until that is fixed, an envelope that must go to
everyone at once needs one envelope per recipient.
Add documents
Upload the file as the raw request body. The file name goes in the path, and the
Content-Type header should describe the file. PDF is the format the
signing pipeline is built around.
The response is a DocumentData record with the document
id, name, size, and pages. Call the
endpoint once per document; order follows upload order.
Documents by URL or base64
Direct send takes documents inline instead of
as a binary upload, through a DocumentCreationData record. The same record
controls the AI preparation steps that run when the envelope is sent.
url.false; enabling it
sends document content to the configured AI provider. The recipient opens the PDF
first. The HTML is a reading aid and is not the document signed.
signatureLocations.
Add recipients
A recipient is a person who acts on the envelope. Signers are the default; viewers, approvers, and editors are also supported.
1 signer (default), 2 sealer, 3 viewer,
4 editor, 5 agent, 6 validator. Signers and
sealers sign; viewers only read; editors, agents, and validators review.
phoneCountry is the ISO country
used to normalize a national number. Required for SMS or WhatsApp delivery.
0 none, 1 email (default), 2 SMS,
3 WhatsApp. Overrides the envelope's channel for this recipient.
firstFactorAuthenticationChannel. The same pair exists as
secondFactor… for two-factor signing.
{ itemId, signatureField, page, x, y, width, height } — itemId
is the document id, page is 1-based, x and y are
PDF points from the bottom-left corner, and the box defaults to 128 × 72 points. Leave
it out to let aiSignatureLocations place the fields.
The response is a RecipientData record. Its id is the
recipientId used by the signing endpoints, and its
signatureStatus starts at 0.
Add a sender
The sender is the identity recipients see: who is asking for the signature, with what branding. One sender per envelope, and at least one is required before sending.
Send the envelope
Sending does three things, in order:
Validate your own payload before calling send. The endpoint does not reject an envelope with no document, no recipient, or no sender — it will simply produce an envelope no one can sign.
Create and send in one call
The response is the full EnvelopeData, including the generated document and
recipient ids. Same 10-minute timeout as /send.
Signing
Each recipient receives a link to the signing app with everything needed to open the envelope:
The hosted app handles the whole flow. The endpoints below are what it calls — read them if you are building your own signing interface, or if you need to reason about what a recipient can do.
1. Open the envelope
Otherwise the response is an EnvelopeData containing only the calling
recipient, plus the sender and every document. Each document carries short-lived
download URLs, valid for two days:
hasFluidLayout is true.hasHighlights is true.GET …/recipients/{recipientId} instead, which returns the same shape without
writing an event.
2. Sign
An expired envelope returns 410 with status: "expired"; a voided or
declined envelope returns 410 with status: "cancelled". A completed envelope
returns 204 without another signature. Other envelopes that are not in progress return
409. The signing worker rechecks status and expiry, and its signature transaction rejects
an envelope cancelled before the transaction commits.
signatureStatus: 20. The endpoint is idempotent: a second call for a
recipient who already signed does nothing.
When the last signer signs, LumiCodex:
- signs each document and stores a proof record per signature,
- sets the envelope to
completed(20), - generates a certificate of completion — the full audit trail — and seals it,
- emails every participant the signed documents and the certificate,
- fires the signature webhook.
Before that, each intermediate signature confirms that signer by email and, in sequential order, invites the next one.
3. Decline
One decline ends the envelope: its status becomes declined (21), a sealed
certificate of rejection is generated with the reason and the audit
trail, everyone is notified, and the webhook fires. The remaining recipients can no
longer sign.
Template documents
Contract library
A contract is one definition (its questions and what the workflow needs to know), a Word template that becomes the signed PDF and an HTML template that becomes the reading view of the signing page. The wording is short and written out in full; every answer is printed where it is read.
Each contract is written for four laws, and a sender gets the one of
the country in their sender details: France (fr, in French and
English), Switzerland (ch, in French, German and English), Germany
(de, in German and English) and the United States (us, in
English, governed by the law of the sender's state). The law is never chosen
per document. It also sets the currency of amounts (euro, Swiss franc, dollar), the way
dates are written and, in the United States, the paper size. A language that
the contract does not have under the sender's law is refused.
Fifteen contracts are offered: client-production, event-organizer,
commercial-content-licence, portfolio-permission,
tfp-collaboration, adult-appearance-release,
photo-use-agreement, publication-approval,
appearance-publication-approval, commercial-image-release,
minor-appearance-release, minor-publication-permission,
location-access, mutual-nda and one-way-nda. The
private-client booking (consumer-booking) is no longer offered.
Two contracts concern a child (client.minor is true in
the catalog). The sender invites one parent. On the details page that parent names the
child and either names the other parent or declares being the child's only legal
representative. The other parent then becomes a third signer of the envelope: the order
is first parent, other parent, sender. The document stays
awaiting-signature until every parent has signed, and reminders go to the
parent whose turn it is.
requiredis true only when nothing fills the answer in: the question has nodefaultand nodefaultFrom. Every other answer may be left out and the contract prints its default. A contract never prints a blank: a render that would is refused with a 422 naming the question.groupis a hint for a form:mainfor what the sender decides for each job,termsfor what is already filled in.- Types are
text,textarea,date(yyyy-MM-dd),number,money(1200.00, euros),select(one ofoptions[].value),emailandurls. - A
datewith"default": "today"left empty is fixed on the day the document is sent (Paris). A date withaftercloses a period: left empty it is the start plusspan(3y,6m,90d); it may not come before the start, nor lie in the past. urlsis a list of websites and profiles, written the way people write them:mysite.com,www.instagram.com/name, with or withouthttps://, separated by lines, commas or spaces. They are stored as HTTPS addresses and printed without scheme orwww.. A social account is sent as the address of its profile (instagram.com/name,tiktok.com/@name). With adefaultsentence, an empty answer prints that sentence: each side may then publish on their own sites and accounts.atMostnames another amount this one may not exceed (licenceFeewithinfee).requiredWhenmakes a question required when other answers have the given values.photosis set when the contract is about photographs chosen in an album:decisionswhen the recipient approves or declines each one,useswhen the sender names where a licence lets them be used.parentslists the contracts a signed first agreement may be;deliverymarks a booking whose licence starts on delivery;privateAnswerslists, per question, the only answers a private-individual sender may give.
Sender details
GET / PUT documents/profile read and save
{ "values": { … } }, keyed by studio.fields[].id:
kind (individual for a sole trader, organization for a
company, private-individual for a person acting outside any business),
legalName, businessId, address, email,
and, optional or with a default, tradeName, signerName,
signerEmail, signerTitle, vat, cureDays,
removalDays, credit, privacyEmail and
privacyNoticeUrl. The response adds complete and
missing. A company names who signs (signerName,
signerTitle); a sole trader or a private individual signs in their own name
with their own email. Fields marked professional are not asked of, and not
kept for, a private individual. A document keeps the details it was sent with.
A private individual can send the contracts whose privateSender is true
(photo permissions, TFP agreements, NDAs, location permission). For
location-access their access is free and for a personal portfolio, and no
insurance is claimed unless they choose it. Any other contract, or a paid own-PDF order,
answers 422.
Review and send
preview checks the answers and returns title, fields
(the answers as printed) and html: the contract as the other party will read
it, an HTML fragment in which every value is already encoded. For a contract with photos it
also returns photos with the snapshotSha256 to send back when
creating, and thumbnails (false above 60 photographs: the PDF then lists file
names). Creating needs the three confirmations and, for photos, a requestId
(UUID) and the reviewed snapshotSha256; the same requestId never
sends twice. Of the recipient only email is needed: they complete the rest
themselves.
The recipient's details and decisions are theirs: nothing is ticked or decided on their
behalf. Once they submit, the PDF is rendered, the envelope's document gets its
fluidLayout (the same contract in HTML, built from the contract's own
template, not generated by AI) and they continue to signing. The signing page opens on
that reading view when a document has one; the PDF, one tap away, remains the document
that is signed. A document keeps the contract version it was composed with; its record
keeps the contract, its version, the SHA-256 of both templates and every value the
templates were given.
Photographs
A contract with photos takes 1 to 500 photographs of one album
(photoLimits.maximum); videos are not part of a photo contract. The admin
starts with every photograph of the album. Up to 60 photographs
(photoLimits.thumbnails) the PDF prints a reference image beside each file;
above, it lists the file names two per row. The signing pages always show every photograph
in the gallery viewer.
Each original is fingerprinted (SHA-256) once and the result is kept. For a large album
that has never been used in a document, preview may answer
409 with { "code": "photos-preparing", "done": 120, "total": 300 }:
call it again; each call continues where the last stopped. A 409 with
exhibit-changed, archive-changed or photo-changed
means the album changed since the review: preview again. Later additions to the album are
never part of a document already sent.
With photos.uses (a paid licence), photos.uses in the request
lists one to three of website, social and
advertising, each with its channels: addresses for the first two
(accepted like a urls answer), a description in words for advertising.
This recipient route takes the signing link's token, for any signer of the document, while the document
is open or signed (404 once cancelled, declined or expired). Each private photograph comes
with its own edgeToken, scoped to that one item and valid for at most an hour;
the link opens nothing else of the album. A photograph that has since left the album has no
item and is listed by name. Call the route again to renew the tokens of a page
left open. The contract's HTML lists the photographs in a
[data-contract-photos] block (li[data-photo][data-decision]);
the signing pages show the gallery above that list.
Current photo document status
POST documents/photo-status with { "albumId", "itemIds" } (up to
100 ids) returns, per photograph, versionStatus (matched,
changed, unverified or uncovered) and the
records of the signed documents that name it:
{ documentId, title, partyName, kind, status, startsOn, endsOn, channels }.
kind is approval (the recipient decided each photograph),
licence or portfolio; status is
scheduled, active, expired or declined.
With renewal set to yes a permission stays active
after its first term and has no endsOn: it runs until one party refuses its
renewal in writing, which the platform does not see. The status reads signed evidence and
the cached fingerprint of the current original; it changes no gallery permission and never
downloads a file.
Follow-ups and several participants
publication-approval follows a signed tfp-collaboration, and
appearance-publication-approval a signed
adult-appearance-release (parents in the catalog). Send
parentDocumentId with the recipient's name and email
exactly as in the first agreement; both parties must have signed it, and the sender details
must be those it was sent with. A summary with canRequestApproval: true can be
followed. Any other contract refuses a parentDocumentId.
For a shoot with several adults, create one document per person, each with its own
requestId: every person gets a separate agreement and completes their own
details. The admin does this for up to 20 people.
Duplicate a document
GET documents/{documentId}/duplicate returns the editable create input of a
document (contract, language, answers, recipient, photo selection, parent) with no
confirmations and no requestId. It writes nothing. A new send uses the current
sender details and the current version of the contract.
Send your own PDF
POST /accounts/{accountId}/documents/own-pdf accepts a multipart form with one
file and an input JSON field. Use an authenticated user with account
access. The PDF must be unsigned, unencrypted, at most 20 MiB and 30 pages. The whole request
is limited to 20 MiB + 64 KiB. Validation happens before envelope creation.
Exactly one box belongs to each signer. Pages are one-based; integer coordinates use PDF default user space, from the bottom left, including the crop origin. Width is 80–300 and height 30–120; boxes must fit inside the crop box and must not overlap. The admin converts PDF.js viewports for rotated pages and uses 160 × 60 boxes. Files remain in the browser until the photographer reviews every page and confirms Send.
Returns the ordinary document summary with templateId: "own-pdf". The original
file SHA-256, reviewed input, boxes, sender and confirmation time are recorded. All AI
processing flags are off. The client receives the ordinary signing invitation, followed
by the studio countersignature; there is no details-entry step. Reminders, cancellation
and final downloads use the existing document endpoints.
Keep requestId and the exact file/input when retrying after a lost response.
An existing request returns its recorded summary without creating another envelope or email.
Changing that request's payload returns 409. A creating or failed
result requires checking the original envelope before any new send. Validation returns 422;
oversized requests return 413. Duplication returns ownPdf: { input, fileName, sha256 },
with request ID and confirmations cleared. Upload the original again; reuse placements
only when the hash matches.
If an uncertain send later completes or is declined, the document summary follows the envelope's final result and its PDF/certificate downloads remain available. The original send error stays in the stored evidence. An unfinished uncertain send remains failed and is not automatically resent.
For a paid private-client PDF, set paidConsumerOrder: true and provide an HTTPS
privacyNoticeUrl in Studio details covering withdrawal processing. The client’s
final button says “Signer et commander avec obligation de paiement” in French or
“Sign and order with obligation to pay” in English. Only that recipient receives
paymentOrderRequired: true and consumerWithdrawalUrl in the signer-app
response. The withdrawal link is also included in their invitation and reminders.
This does not check the PDF’s consumer terms, supply the complete pre-contract information pack or validate the uploaded agreement. Newly created paid PDFs use the retained-copy access described below. Existing paid PDFs created before withdrawal support have no withdrawal reference; this change does not silently migrate or resend them.
Retained consumer contract copies
A paid own-PDF order for a private client includes a private
/contract#reference=… link. POST /consumer-contracts/lookup takes
{ "reference": "…" } and returns contract/studio identity and
files: each has id, stage, sha256,
size, capturedAt and optional signatureReceivedAt.
Stages are offer, client-signed, signed,
completion-certificate and rejection-certificate. A signing timestamp describes receipt of the signing
action; arbitrary uploaded PDFs retain their own formation terms.
POST /consumer-contracts/download takes
{ "reference": "…", "fileId": "…" } and returns the verified PDF.
Unknown or foreign references return 404; an integrity failure returns 409. The reference
stays in the request body, never the URL. Responses are not cached. Both endpoints are
anonymous, rate-limited and independent of account/signing credentials.
Copies are private objects outside the photographer’s storage prefix, pinned to an object version and checked by SHA-256 when archived and downloaded. Their metadata is outside the account partition without TTL. Completed signature proofs are required before labelling a copy signed. Recovery fills missing signed copies and the applicable completion or rejection certificate. Existing uploaded contracts are not backfilled.
Retained copies survive expiry and account closure. Missing copies must be investigated; their absence does not determine whether an agreement was formed. The archive has no automatic erasure clock. Account deletion returns 409 while known consumer envelopes are active or required retained copies are missing. Resolve signing and archive failures first. Actual retention, restoration, account-closure handling and monitored recovery remain deployment responsibilities; a configured policy reference is not proof of those operations.
Online withdrawal for consumer contracts
The signer app’s /withdraw#reference=… page opens independently of the
signing token. It requires no user account, reason or photographer approval and remains
available after signing expiry and photographer-account closure. It records a declaration;
it does not determine eligibility, cancel an envelope, change gallery access or issue a refund.
POST /consumer-withdrawals/lookup takes { "reference": "…" }.
The response identifies the contract and studio and supplies the studio’s privacy notice
and contact. Keep the private reference out of query strings, analytics and request-body
logs. These anonymous endpoints use the reference as their credential and are rate-limited.
Present a review step before the explicit “Confirmer la rétractation” action. The response
contains requestId, documentId, the exact statement,
immutable submittedAt, acknowledgementEmail,
acknowledgementStatus, acknowledgementAcceptedAt and
refundDueBy. The last date is fourteen days after receipt, for refunds due
under the applicable statutory conditions; it is not a payment or eligibility decision.
A later or corrected declaration does not restart an earlier valid withdrawal’s deadline.
Retry an uncertain submission with the same UUID and fields. Changed fields with the same UUID return 409. A new UUID records a new declaration, for example to correct an email address, without changing or erasing earlier evidence. Invalid fields return 422; an unknown reference returns 404. Do not reject a declaration merely because a signing link expired or a purported withdrawal deadline passed.
Client acknowledgements and studio notifications are attempted immediately and recovered
independently, with five total attempts per destination. accepted means the
email provider accepted the message, not that the recipient received or read it.
pending/sending indicate unconfirmed sending; needs-attention
requires operator follow-up. Mail failure does not erase the declaration. The page also
offers a downloadable text copy. Account-scoped document summaries include a
withdrawals array with every declaration and its current acknowledgement status.
Withdrawal evidence is retained separately from the account without a TTL. This is not the retained signed contract. Rollout requires the separate signer page, recovery schedule, monitored mail failures and a verified privacy/retention policy. The function follows L221-21 and D221-5; its implementation does not certify the contents of an uploaded PDF.
The private operator endpoint GET /ops/overview adds
documentsByPlan: [{ plan, total, createdThisMonth, completed, waiting, failed, recordedEmailsThisMonth }].
It requires platform moderation permission. Counts use current account plans and UTC months;
email counts deduplicate provider IDs in signature audits and exclude unaudited messages.
They are operational counts, not invoice totals or usage limits.
Booking licence and delivery receipt
The bookings client-production and event-organizer
("delivery": true in the catalog) grant a non-exclusive licence that starts
when the photographs are delivered and the price is paid, without another signature.
answers.licenceFee is the part of answers.fee that pays for the
licence and may not exceed it. The licence is worldwide; its use and its length are
answers of the contract. Social media, paid advertising and press distribution need
separate terms.
notificationNotes contains recordedAt, recordedBy,
reference and optional notifiedAt. No notification timestamp is
inferred merely from the first receipt listing a photo; payment evidence is separate.
A completed eligible booking returns canDeliver: true in its summary.
In the admin, open the Client Gallery's Website & downloads tab and choose the signed
booking. The account-scoped API checks the matching client assignment, current ordinary
user permissions, published website, moderation and JPEG download permission. It changes
no access rights and records no payment. Older signed bookings retain their original terms
and cannot use this action.
Returns { id, snapshot, snapshotSha256, createdAt, status, text, emailAcceptedAt, notifiedAt, notificationReference, notificationNotes }.
A changed list returns 409 with code: "delivery-changed"; invalid gallery
setup returns 422. Review again after correcting it. A receipt lists at most 5,000 photos
and its canonical snapshot must fit within 120,000 UTF-8 bytes. Split larger deliveries.
The full receipt is emailed in the agreement's language, with a text attachment and the
studio's Reply-To address. GET …/{documentId}/deliveries returns saved receipts
including their downloadable text, even if the gallery has since changed.
All receipt responses are no-store. The first review reads the archived originals
with at most four concurrent streams; later reviews reuse hashes after checking the
source key, storage version and ETag. A two-minute request limit bounds this work.
If a review times out, retry it: completed hashes remain cached and no receipt email
has been sent. Missing or changed originals return 409 (archive-changed
or photo-changed). The size check may reject a large list before hashing,
reserving space for the original hashes and receipt metadata.
sent means the email provider accepted the message, not that the client read
it. sending and failed may represent uncertain outcomes. Repeating
the same document/snapshot returns its saved result without emailing again. Check the
provider before manually forwarding the downloadable receipt. Receipts have no TTL;
their list and text are immutable. Later gallery additions need another reviewed receipt.
snapshotSha256 hashes the receipt's canonical snapshot; inputSha256
hashes the frozen contract input. Neither is an original-photo or signed-PDF hash.
originalSha256 is the lowercase SHA-256 of the archived original bytes, not
the downloadable JPEG. originalVersionId and originalEtag identify
that archived object; they can differ from the media image version. Older receipts
have no original hashes. A repeated or corrected receipt
does not renew an existing photograph's licence term. Receipt text distinguishes new,
previously listed and replaced versions by photograph ID and references the earlier receipt.
Requires an authenticated account user. Record evidence the client actually received the
receipt, including after a manual notification. The date must be between receipt creation
and now; a reference is required (up to 500 characters). This saves one notification entry
with the recording user, leaves the original receipt unchanged and sends no email.
Returns the updated receipt. A second entry returns 409; notification cannot be overwritten.
A still-running email request blocks recording for its first five minutes.
createdAt records creation, emailAcceptedAt provider acceptance,
and notifiedAt the sender's evidenced notification declaration. The system
does not independently verify that declaration or establish payment.
To correct or dispute a declaration, POST the same shape to
…/{receiptId}/notification-notes. reference is required;
notifiedAt is optional when the correct date is unknown. This appends an
attributed note while preserving the original declaration and earlier notes (up to 20).
notificationNotes contains recordedAt, recordedBy,
reference and optional notifiedAt. No notification timestamp is
inferred merely from the first receipt listing a photo; payment evidence is separate.
Automatic reminders
A daily job selects one reminder for the person currently expected to sign: after five
and ten days from creation, then a final warning within three days of expiry. The details
step uses /complete; a prepared contract uses /sign. Expiry notices
go to both parties. Completed, declined, cancelled and actively preparing documents are skipped.
After downtime only the latest overdue reminder is sent, not a burst of older reminders.
The internal POST /schedulers/document-reminders endpoint requires
X-LumiCodex-Scheduler-Key matching Ops:SchedulerKey (503 if unconfigured,
401 if incorrect). It returns 202 before processing. A conditional scheduler-event claim
per document, recipient and notice prevents duplicate sends during concurrent or repeated
runs. Failed or interrupted sends stay claimed because delivery may have occurred; inspect
the provider and audit records before using the manual reminder. A 202 is acceptance of
the run, not confirmation that emails were delivered.
Read the details request
status is details while the form is needed. Any other value carries
only status and language: preparing (another request is
generating the PDF), ready (continue to /sign),
completed, cancelled or expired. This read writes no
audit event.
summary lists what the sender decided for this job, with labels written for
the person reading. photos is present when the contract has photographs, in
the shape of the photographs route; reading the details
again renews its viewing tokens. With photoDecisions the recipient approves
or declines each photograph; with adultAttestationRequired they state that
they are an adult with the capacity to sign. lockedIdentity and
parentReference are set on a follow-up, whose recipient is the person who
signed the first agreement. With minor the document concerns a child and the
recipient is a parent: the page asks for the child and for who else signs, and
childName, childBirthDate, otherParentName and
otherParentEmail return what an earlier, refused submission contained.
law is the law of the document; guardianStatement and
soleGuardianStatement are the two statements a parent makes, worded for that
law (a parent signs alone as the only legal representative in France and Germany, with
the other parent's agreement in Switzerland, with full authority in the United States).
Show them as given: the signed record keeps the same words.
Submit the details
Validation failures return 422 with a detail message and, where available,
an errors array of { code, field, message } entries.
Editable fields use answers.questionId, studio.fieldId or
recipient.fieldId. Show the message beside the matching field and keep the
entered values. Show a message with no matching control in the form summary. Messages
are in the language of the document (French, English or German).
For a child, childBirthDate is YYYY-MM-DD and must make the
child under 18. The parent either sends otherParentName and
otherParentEmail (an address different from their own and from the sender's;
that person is invited to sign once the first parent has) or soleGuardian: true.
Both statements are the parent's own and are kept in the signed record; errors use
recipient.childName, recipient.childBirthDate,
recipient.guardianConfirmed, recipient.otherParentName and
recipient.otherParentEmail.
businessId is an optional company registration number (up to 80 characters), printed with the party identity.
It is also accepted in the sender’s recipient object and returned by the details and duplicate reads.
signerName and signerTitle apply to businesses only; an individual
signs in their own name. The call renders the contract and uploads the PDF
before it returns, so allow a few seconds. It records the request evidence and a
sent audit event carrying the PDF's SHA-256, and sends no further email to this
recipient. A second submission returns the current state without
generating another PDF.
/accounts/{accountId}/documents with account
credentials: catalog, profile (studio details),
preview, create, list, remind, cancel,
countersign and download. It is the admin's API and may change;
build integrations on the envelope endpoints above. Cancelling voids the envelope
(signatureStatus 22), writes a voided audit event and emails every
recipient.
Download documents and proofs
completed, or the
certificate of rejection when it is declined. Absent while the envelope
is in progress.
Authorization header — do not send your LumiCodex token to storage — and
request fresh ones rather than storing them.
Signature events
Register one webhook per account (see Webhooks) and
LumiCodex posts signature progress to it. This is the reliable way to know an envelope
finished, since /sign returns before the work completes.
Reference
Enumerations are sent and returned as integers, not names.
signatureStatus
authenticationAndDelivery
Other enumerations
Errors
Agent tools
The same operations are available to AI agents through the LumiCodex MCP endpoint:
envelopes_list, envelopes_create, envelopes_get,
envelopes_is_editable, envelopes_add_document,
envelopes_add_recipient, envelopes_add_sender,
envelopes_send, envelopes_get_downloads, and
envelopes_direct_send. They take the same fields as the REST bodies
documented here, and the account is inferred from the API key or bearer token.