Quick start
Want to have a PDF signed from your software, your CRM or your website? It takes five calls: create an envelope, add the PDF, add the signer, place their signature field, then send. Signoui handles the rest: invitation email, verification code, sealing of the PDF, evidence file, and a webhook to let you know.
- Create an account on app.signoui.fr (2 free sends per month, no credit card required).
- Create a test key in the customer area, under Développeurs (Developers). An
sk_test_key sends no email or SMS and consumes no sends. - Run the full flow below, then open the
test_sign_urlslink returned by the send call to sign it yourself in your browser. - Go live with a separate
sk_live_key: nothing else changes in your code.
Only want to record acceptance of your terms of use, a mandate or a contract inside your own application, with no Signoui screen? Go straight to the acceptance attestation. And if your document is text rather than a PDF, Signoui builds the PDF for you, with your layout.
KEY="sk_test_xxx"
API="https://api.signoui.fr/v1"
# 1. Create the envelope (draft)
ENV=$(curl -s -X POST "$API/envelopes" \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-H "Idempotency-Key: quote-2026-0412" \
-d '{"title":"Quote no. 2026-0412","workflow":"sequential","message":"Hello, here is the quote we discussed.","expires_in_days":30,"metadata":{"crm_id":"12345"}}' \
| jq -r .id)
# 2. Add the PDF (20 MB and 300 pages maximum)
DOC=$(curl -s -X POST "$API/envelopes/$ENV/documents" \
-H "Authorization: Bearer $KEY" \
-F "file=@quote-2026-0412.pdf;type=application/pdf" | jq -r .id)
# 3. Add a signer (phone in international format for the SMS code)
SGN=$(curl -s -X POST "$API/envelopes/$ENV/signers" \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"full_name":"Marie Dupont","email":"marie.dupont@exemple.fr","phone":"+33612345678","otp_channel":"sms"}' \
| jq -r .id)
# 4. Place their signature field (PDF points, origin at the bottom left of the page)
curl -s -X POST "$API/envelopes/$ENV/fields" \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d "{\"document_id\":\"$DOC\",\"signer_id\":\"$SGN\",\"kind\":\"signature\",\"page\":3,\"x\":60,\"y\":80,\"width\":180,\"height\":60}"
# 5. Send for signature
curl -s -X POST "$API/envelopes/$ENV/send" \
-H "Authorization: Bearer $KEY" -H "Idempotency-Key: send-quote-2026-0412"
Then wait for the envelope.completed webhook (see Webhooks) or poll GET /envelopes/{id}, and download the sealed PDF and the evidence archive (see Downloading the signed PDF and the evidence).
The essentials
| Item | Value |
|---|---|
| Base URL | https://api.signoui.fr/v1 |
| Authentication | Authorization: Bearer sk_live_… or sk_test_… header |
| Format | JSON (UTF-8) for requests and responses; multipart/form-data to upload a PDF or a logo (a document created from text is sent as JSON) |
| Identifiers | prefixed: env_… (envelope), doc_… (document), sgn_… (signer), fld_… (field), evt_… (event) |
| Dates | ISO 8601 with time zone, for example 2026-10-07T14:03:11+00:00 |
| Rate limit | 60 requests per minute per key (adjustable on request), HTTP 429 beyond that |
| Billing | Only sends are billed. A send is one person signing one document: one per signer, or one per acceptance attestation. Creating envelopes, documents and layouts, reading, downloading and receiving webhooks is free and unlimited |
| Hosting | 100% in France (OVH), no data outside the European Union |
| OpenAPI reference | api.signoui.fr/v1/docs (interactive) and openapi.json (raw schema, to generate a client) |
Test keys and live keys
An sk_test_ key creates envelopes in test mode: no email or SMS goes out, nothing is counted, the signing links are returned in the response so you can automate your end-to-end tests, and webhooks are not delivered (they are logged on Signoui’s side). To complete a signature, open the link from test_sign_urls: when the flow asks for a code, it is shown directly on the signing page, in a « Mode test » (Test mode) banner. The sealed PDF of a test envelope carries a « TEST – SANS VALEUR » (TEST – NO VALUE) watermark on every page and a red banner on its certificate page: it has no legal value, and the verification page says so. Test and live envelopes are kept separate: each key only sees those of its own mode.
An sk_live_ key does everything for real: each signer of a sent envelope consumes one send from your organisation’s balance.
Key scopes
Each key has its scopes: envelopes:read, envelopes:write, documents:download. A key without the required scope receives a 403 insufficient_scope. Keys are created and revoked in the customer area, under Développeurs (Developers).
Keys and webhooks tied to a member. An API key or webhook created by a member of your account stops working when that member is deactivated or deleted (the key then returns 401 invalid_api_key, the webhook is no longer delivered). For a long-lasting integration, create its keys and webhooks from the owner’s account or from a technical account that will remain active.
The API key must never be in the browser or in a mobile app: call the API from your server.
The model in one minute
An envelope (envelope) contains a PDF document, one or more signers, and fields placed on the document (at least one signature field per signer).
You create the envelope as a draft, add the PDF, the signers and the fields, then send it. It is then frozen. Each signer receives a unique link, reads the whole document, fills in their fields, gives their consent, then enters a code received by SMS or email, which constitutes the signature. When everyone has signed, Signoui seals the PDF (PAdES signature, timestamp, « Certificat de signature » (Signature certificate) page), produces an evidence archive and notifies you by webhook.
Envelope statuses
draft → pending → sealing → completed, or else:
declined: a signer declined;expired: the signing deadline has passed;cancelled: you cancelled the envelope;failed: sealing incident, handled by our team.
Signer statuses
waiting (not their turn yet, in a sequential workflow) → notified → opened → consented → signed, or declined.
Workflows
sequential: signers receive the invitation one after the other, inrankorder.parallel: all of them receive it at the same time.
Endpoints
GET /me
Returns the organisation, the key used and the send balance. Handy to check a key and display the balance in your tool.
{
"organization_id": "org_01J8Q…",
"organization_name": "Martin Rénovation",
"billing_mode": "prepaid",
"sends_available": 47,
"api_key_id": "key_01J8Q…",
"api_key_name": "Website",
"mode": "live",
"scopes": ["envelopes:read", "envelopes:write", "documents:download"]
}
sends_available: remaining sends (free sends for the month and packs). null means unlimited (account on monthly billing). One send corresponds to one signer of a sent envelope, SMS code included.
GET /me/usage
Your usage for the current month (in UTC) and, for an account on monthly billing, the amount of the next invoice if the month ended now. Available with any key. Add ?period=YYYY-MM for a past month.
{
"period": "2026-10",
"billing_mode": "api_monthly",
"sends": 212,
"free_quota": 2,
"free_used": 2,
"billable": 210,
"billable_verified": 150,
"billable_light": 60,
"unit_verified_cents": 47,
"unit_light_cents": 35,
"minimum_cents": 0,
"amount_cents": 13850,
"sends_available": null,
"packs_remaining": null
}
| Field | Description |
|---|---|
sends |
Sends this month, free ones included |
free_quota, free_used |
Free sends for the month, and how many have been used |
billable |
Billable sends: billable_verified (confirmed by an SMS or email code) + billable_light (without a code) |
unit_verified_cents, unit_light_cents |
Price excl. VAT in cents of the next billable send, with and without a code (current tier of the price scale) |
minimum_cents |
Monthly minimum excl. VAT in cents: 0 with the public price scale; a legacy contract or a custom price may have one |
amount_cents |
Estimated invoice amount excl. VAT: each billable send counted at the price of its tier, according to its rank in the month; raised to the minimum if there is one and there is at least one billable send; 0 if the month stays within the free sends, null for a prepaid account |
sends_available, packs_remaining |
For a prepaid account: what is left to use |
In the example, 210 billable sends: the first 200 fall within tiers 1 to 200, the last 10 within the 201 to 500 tier; the next sends will therefore cost €0.47 with a code and €0.35 without a code. Amounts are excl. VAT; 20% VAT is added on the invoice. Sends made with a test key never count.
POST /envelopes
Creates a draft envelope.
| Field | Type | Required | Description |
|---|---|---|---|
title |
text, 300 characters max. | yes | Title shown to signers (email subject) |
workflow |
sequential or parallel |
no (default sequential) |
Signing order |
message |
text, 2,000 characters max. | no | Personal message in the invitation email |
expires_in_days |
integer from 1 to 180 | no (default 30) | Signing deadline after sending |
metadata |
JSON object, 4 KB max. | no | Your own references (CRM identifier, quote number…), returned as is, including in every webhook. Keys starting with _ are reserved for Signoui and ignored |
reminders_enabled |
boolean | no (default true) |
Automatic email reminders at D+3 and D+7 |
brand_id |
text brd_… |
no | Brand under which the envelope’s emails are sent, if your account has the Brand option (in French). Absent: the account’s default brand, or the Signoui look if the option is not active. Unknown for your account: 422 error with param: "brand_id" |
201 response: the envelope object. Accepts the Idempotency-Key header.
Sending under your brand
With the Brand option, your envelopes can go out in your name. Brands (name, logo, colour, verified reply-to address) are created in the customer area, Paramètres → Marque (Settings → Brand); there is no API call to create them. The signer then sees:
- your brand name as the sender (the sending address remains a Signoui address), and their replies go to the brand’s verified address;
- your logo and your colour in the email and on the signing page;
- the notices « Envoyé par Votre marque · Signature électronique opérée par Signoui » (Sent by Your brand · Electronic signature operated by Signoui) in the email and « Signature électronique opérée par Signoui pour Votre marque » (Electronic signature operated by Signoui for Your brand) on the signing page.
SMS messages are always sent under the SIGNOUI sender, with text in your name. In the evidence log, the envelope.sent event states the brand used (brand, with its identifier and name); the signature certificate always names Signoui as the provider.
POST /envelopes/{id}/documents
Adds the PDF to the envelope. Sent as multipart/form-data, field file. Only one PDF per envelope, 20 MB and 300 pages maximum, envelope in draft only.
The following are rejected with 422 (param: "file", with a plain-language message): a file that is not a PDF, a damaged PDF, a PDF protected by an opening password. A “restricted” PDF, which opens without a password but forbids editing or printing (common on export), is accepted: Signoui keeps an unencrypted copy with identical content, the only form that can be sealed. The sha256 returned is that of this copy, and the hash of the received file is recorded in the evidence log (document.added, field received_sha256).
{
"id": "doc_01J8Q…",
"kind": "original",
"filename": "quote-2026-0412.pdf",
"sha256": "8090ce…",
"size_bytes": 184233,
"page_count": 3,
"created_at": "2026-10-07T14:01:52+00:00"
}
Keep sha256: it is the hash of the document that will be sealed and recorded in the evidence log.
POST /envelopes/{id}/documents/text
No PDF to build: for terms and conditions, a mandate or a contract that your application already displays as text, send the text and Signoui builds the PDF. JSON body:
{
"title": "Terms of use",
"text": "# Terms of use\n\nThese terms…\n\n## 1. Purpose\n\n- First obligation\n- Second obligation",
"layout_id": "lay_01J8Q…"
}
The text is taken as is (20 to 200,000 characters): plain text, or light Markdown. Only this syntax is recognised:
| Syntax | Rendering |
|---|---|
# Title, ## Subtitle, ### Subheading |
Three heading levels (article, sub-article…) |
- item or * item |
Bulleted list |
1. item, 2. item |
Numbered list (renumbered from 1) |
| Blank line | New paragraph (single line breaks are merged into the paragraph) |
**bold**, *italic* |
Bold, italic |
---page--- alone on its line |
Page break, for example for an appendix |
The output is a plain, deterministic A4 PDF: the same text with the same layout always gives the same PDF. The optional layout_id field applies a layout: logo, header, footer, page numbers, heading colour.
The response is the original document (201, same shape as for a PDF), and the envelope additionally receives a source document: the received text, downloadable. The evidence log (document.added) records the SHA-256 hash of the PDF and that of the text (source.text_sha256), computed on the received text after stripping leading and trailing whitespace and normalising line endings. The layout never goes into the text hash; when there is one, source.layout_id and source.layout_sha256 are recorded alongside.
This way you can prove that the sealed PDF is the exact rendering of what your application displayed. To do so, send the text without reformatting it between display and the call.
POST /envelopes/{id}/signers
Adds a signer.
| Field | Type | Required | Description |
|---|---|---|---|
full_name |
text, 200 characters max. | yes | Full name |
email |
yes | Unique within the envelope | |
phone |
text | if otp_channel is sms or choice, or if delivery is sms |
International format, for example +33612345678. A French number such as 0612345678 (spaces and dots accepted) is converted to +33… |
rank |
integer, 1 or more | no | Order in a sequential workflow (default: next in line). In parallel, always 1 |
otp_channel |
sms, email, choice or none |
no (default: organisation setting) | Channel of the code that constitutes the signature, see below |
delivery |
email, sms or none |
no (default email) |
How the signer receives their invitation, see below |
external_id |
text, 100 characters max. | if otp_channel is none |
The signer’s identifier in your system, recorded in the evidence file |
return_url |
https URL | no | Page on your site to send the signer back to after signing |
flow |
standard or express |
no (default standard) |
Signer flow, see below |
locale |
fr | en |
no (default fr) |
Signer’s language: invitation, reminders, code (email or SMS), signing page and final email in this language. The signer can switch language on the page; the switch is recorded in the audit log (signer.language_changed) and their consent is recorded in the exact text they saw. As soon as one signer in the envelope is en, the signature certificate becomes bilingual French-English. The document itself is not translated |
Code channel (otp_channel)
sms(recommended): the code arrives by SMS, a channel independent of email, which strengthens the signer’s identification in the event of a dispute.email: the code arrives by email.choice: the signer chooses SMS or email when signing; their choice is recorded in the evidence log. Phone required.none: no code, reserved for embedded signing with a signer you have already identified.
Invitation (delivery)
email: signing link by email, with reminders at D+3 and D+7.sms: signing link by SMS.none: nothing is sent; you open the link yourself in your site (see Embedded signing).
Flow (flow)
standard: page-by-page reading of the document, then fields, consent and code.express: a single page with the document, the fields, the consent and the signing button. For a signer who already has the document in front of them in your application (see Embedded signing).
201 response: the signer object (see Envelope object).
POST /envelopes/{id}/fields
Places a field on the document.
| Field | Type | Description |
|---|---|---|
document_id, signer_id |
text | Document and signer concerned |
kind |
signature, initials, text, checkbox, date or mention |
mention: text to copy out, for example « Lu et approuvé » (Read and approved); date is pre-filled with the signing date |
page |
integer, 1 or more | Page number |
x, y, width, height |
numbers | In PDF points (1/72 inch), origin at the bottom left of the page as displayed (rotation and the PDF’s visible area taken into account: a rotated A4 page displays as 842 × 595). An A4 page measures 595 × 842 points. The field must fit entirely within the page (x + width ≤ width, y + height ≤ height), otherwise a 422 error with the page dimensions |
required |
boolean (default true) |
Mandatory field |
label |
text, 200 characters max. | Label shown to the signer |
Example: a signature at the bottom left of page 3 is placed with "x": 60, "y": 80, "width": 180, "height": 60.
Each signer must have at least one signature field, otherwise sending is refused (signature_field_missing). A signer can only fill in their own fields.
POST /envelopes/{id}/fields/auto
Places signatures automatically, without computing coordinates. No body: places a signature field at the bottom of the last page for each signer who does not have one yet (side by side, then in rows upwards if the page is narrow), as the customer area does. Draft only, after the document has been added. 200 response: the list of fields created, empty if every signer already has their signature or if there is no document yet. Scope envelopes:write.
POST /envelopes/{id}/send
Sends the envelope for signature. The envelope is frozen, the PDF hash is recorded in the log, one send is counted per signer, then the first signer (sequential workflow) or all signers (parallel workflow) are invited.
The call is idempotent: sending an envelope that has already been sent returns the envelope as is. Also accepts the Idempotency-Key header.
Possible errors:
402 credits_insufficient: insufficient balance, the message states how many sends are missing;403 email_not_confirmed: the account was created through online sign-up and its email address has not yet been confirmed (click the link received at sign-up); test envelopes are not affected;422 document_missing,signer_missingorsignature_field_missing: the envelope is incomplete;409 invalid_transition: the envelope is no longer a draft.
In test mode, the response contains test_sign_urls, for example {"sgn_…": "https://app.signoui.fr/sign/…"}, to open the signing flow in a browser.
GET /envelopes and GET /envelopes/{id}
GET /envelopes?status=pending&limit=25&cursor=… lists your envelopes from newest to oldest, filterable by status: draft, pending, sealing, completed, declined, expired, cancelled or failed (any other value gives a 422 error). Pagination is cursor-based: pass next_cursor back as is; null means you have reached the end.
GET /envelopes/{id} returns the full state of an envelope: the envelope object.
Downloading the signed PDF and the evidence
GET /envelopes/{id}/documents/{document_id}/download, with the documents:download scope. An envelope contains up to four documents, identified by kind in documents[]:
kind |
Available | Content |
|---|---|---|
original |
as soon as added | The PDF as you supplied it, or as built by Signoui from your text |
source |
documents created from text | The received text, as is. Content-Type: text/plain; charset=utf-8 |
sealed |
status completed |
The signed PDF: fields embedded, « Certificat de signature » (Signature certificate) page added, PAdES electronic signature visible in Adobe Reader, timestamp. Content-Type: application/pdf |
evidence |
completed, declined or expired, a few seconds later |
Self-contained ZIP evidence archive: original and sealed PDF, chained audit log (JSON), certificates, timestamp token, OpenTimestamps anchoring, verification notice. Content-Type: application/zip |
The sealed PDF can also be verified publicly, without an account, at app.signoui.fr/verify.
POST /envelopes/{id}/cancel
Cancels an envelope in draft or pending. Optional body: {"reason": "…"}. The signing links become unusable and signers who have not signed are notified. Sends already counted are not refunded.
POST /envelopes/{id}/signers/{signer_id}/remind
Sends a new reminder to a signer who has already been invited but has not signed yet, for example when they tell you “I didn’t receive anything”. Signoui generates a new link and sends it itself; the old link no longer works. The body is optional:
{ "channel": "sms", "phone": "+33612345678", "email": "correct.recipient@exemple.fr" }
| Field | Description |
|---|---|
channel |
email or sms. By default, the invitation channel |
email, phone |
Correct the signer’s address or number before sending. The old and new values are recorded in the evidence log (signer.contact_changed, number masked). If the signing code is sent by SMS, it will go to the new number |
The response is the signer object. Each reminder is recorded in the log (signer.reminded, with the channel). The automatic reminders at D+3 and D+7 continue regardless. The same « Relancer » (Send reminder) button exists on the envelope page, in the customer area.
| Error | Case |
|---|---|
409 envelope_not_pending |
The envelope is signed, declined, expired or cancelled |
409 signer_not_remindable |
It is not their turn yet, or they have already signed or declined |
409 signer_embedded |
Signer in embedded signing: request a new link with sign-link |
409 too_many_reminders |
More than 5 reminders for this signer within the hour |
422 |
Invalid email address or phone number |
GET /envelopes/{id}/events
Returns the envelope’s evidence log, in chronological order. Each event is chained to the previous one by a SHA-256 hash (prev_hash → hash): no event can be removed or modified without breaking the chain.
{
"id": "evt_…",
"seq": 12,
"type": "signer.signed",
"occurred_at": "2026-10-07T14:20:58+00:00",
"actor": "signer:sgn_…",
"signer_id": "sgn_…",
"ip": "92.184.x.x",
"user_agent": "Mozilla/5.0 (iPhone…)",
"data": { "document_sha256": "8090ce…", "identification": "email_link+otp_sms" },
"prev_hash": "…",
"hash": "…"
}
Main types: envelope.created, document.added, signer.added, field.added, envelope.sent (with brand if the envelope is sent under a brand), signer.notified, signer.embed_link_created, signer.opened, document.viewed (pages and reading time), field.filled, signer.consented (consent text and version), otp.sent, otp.failed, otp.verified, signer.attested (declaration of an acceptance attestation), signer.signed, envelope.all_signed, envelope.sealed, timestamp.anchored, envelope.declined, envelope.expired, envelope.cancelled, signer.reminded (automatic reminder or manual reminder, with the channel), signer.contact_changed (email or phone corrected by the sender), signer.language_changed (language switched by the signer on the signing page), signer.delivery_failed (email not delivered, address non-existent or invalid), document.replaced (PDF of a draft replaced from the customer area, with the old and new hash), operator.unmasked (identities viewed by Signoui support).
Layouts
A layout dresses documents created from text: your logo, a header line, your legal notices in the footer, page numbers and the colour of your headings. You create it once, then reference its lay_… identifier in each call to documents/text. Creating and using a layout is free.
A layout is immutable: to change the logo or the notices, create a new one; documents already created keep theirs. Each one has a sha256 hash (logo and settings), recorded in the log, in the evidence archive and on the certificate of every document that uses it: any sealed PDF remains explainable years later.
POST /layouts, as multipart/form-data, with the envelopes:write scope:
| Field | Type | Role |
|---|---|---|
name |
text, 100 characters max. | Internal name |
logo |
PNG or JPEG file, 1 MB max., 8 to 4,000 pixels per side (no SVG) | Top left, at height logo_height_mm; PNG transparency is preserved |
logo_height_mm |
integer from 8 to 30 (default 14) | Logo height |
logo_pages |
first (default) or all |
Logo on the first page only, or on all pages |
header_text |
text, 300 characters max. | Small line at the top right of each page |
footer_text |
text, 300 characters max. | Footer of each page, on the left (your legal notices, for example) |
page_numbers |
boolean (default true) |
« Page N / M » at the bottom right. M counts the pages of the document alone: the « Certificat de signature » (Signature certificate) page added at sealing is not numbered |
accent_color |
#RRGGBB |
Colour of headings and of the header rule |
show_title |
boolean (default true) |
Shows the document title at the top of the first page (never twice if the text already starts with # …) |
At least a logo, a header, a footer or a colour is required.
curl https://api.signoui.fr/v1/layouts \
-H "Authorization: Bearer $KEY" \
-F name="Customer contract" \
-F logo=@logo.png -F logo_height_mm=14 -F logo_pages=first \
-F header_text="Martin Rénovation — martin-renovation.example" \
-F footer_text="Martin Rénovation SARL · RCS Nantes 123 456 789" \
-F accent_color="#0A0E28"
201 response:
{
"id": "lay_01J8Q…",
"name": "Customer contract",
"sha256": "3f9c…",
"logo_sha256": "a71b…",
"logo_mime": "image/png",
"logo_height_mm": 14,
"logo_pages": "first",
"header_text": "Martin Rénovation — martin-renovation.example",
"footer_text": "Martin Rénovation SARL · RCS Nantes 123 456 789",
"page_numbers": true,
"accent_color": "#0A0E28",
"show_title": true,
"archived_at": null,
"created_at": "2026-10-11T08:12:40+00:00"
}
GET /layouts lists active layouts (?include_archived=true for all of them), GET /layouts/{id} returns one in detail, and DELETE /layouts/{id} archives it: it is then no longer accepted by documents/text, which responds with 422 layout_not_found. Test keys apply the layout identically, without counting anything. The sealed PDF is the laid-out PDF, with its fields where applicable, followed by the certificate page, which states « Mise en page : lay_… (empreinte …) » (Layout: lay_… (hash …)).
Envelope object
{
"id": "env_01J8Q…",
"mode": "live",
"title": "Quote no. 2026-0412",
"status": "pending",
"workflow": "sequential",
"message": "Hello, here is the quote we discussed.",
"metadata": { "crm_id": "12345" },
"expires_at": "2026-11-06T14:03:11+00:00",
"sent_at": "2026-10-07T14:03:11+00:00",
"completed_at": null,
"closed_at": null,
"close_reason": null,
"created_at": "2026-10-07T14:01:40+00:00",
"documents": [
{ "id": "doc_…", "kind": "original", "filename": "quote.pdf", "sha256": "…",
"size_bytes": 184233, "page_count": 3, "created_at": "…" }
],
"signers": [
{ "id": "sgn_…", "rank": 1, "full_name": "Marie Dupont", "email": "marie.dupont@exemple.fr",
"phone": "+33612345678", "otp_channel": "sms", "locale": "fr", "status": "notified",
"notified_at": "…", "opened_at": null, "signed_at": null,
"declined_at": null, "decline_reason": null,
"delivery_status": "sent", "delivery_error": null }
],
"fields": [
{ "id": "fld_…", "document_id": "doc_…", "signer_id": "sgn_…", "kind": "signature",
"page": 3, "x": 60, "y": 80, "width": 180, "height": 60,
"required": true, "label": null, "value": null, "filled_at": null }
],
"test_sign_urls": null
}
closed_at and close_reason are set for the declined, expired and cancelled statuses. After signing, fields[].value contains the value entered (for a signature: the typed name or « tracé manuscrit » (handwritten drawing)).
Webhooks
Signoui notifies your server in real time with an HTTPS POST request. Webhooks are managed in the customer area, under Développeurs (Developers): URL, subscribed events, and a « Tester » (Test) button that sends a ping event. The signing secret is shown only once, at creation: store it on your server.
Events
| Type | When |
|---|---|
envelope.sent |
The envelope is sent, the first signer or signers are invited |
signer.signed |
A signer has signed (the envelope moves on to the next one or to sealing) |
envelope.completed |
Everyone has signed: sealed PDF and evidence archive available |
envelope.declined |
A signer declined (reason in signers[].decline_reason) |
envelope.expired |
Deadline passed without all signatures |
envelope.cancelled |
Envelope cancelled (via the API or from the customer area) |
signer.delivery_failed |
An email to the signer could not be delivered because their address does not exist or is not valid: details in data.delivery; correct the address, then send a reminder (POST /envelopes/{id}/signers/{sid}/remind) |
ping |
Manual test from the customer area |
Subscribe to * to receive everything, to a specific list, or to a pattern such as envelope.*.
Tracking emails to signers. Each signer has delivery_status (last email sent: sent, delivered = accepted by the recipient’s mail server, failed, or null if nothing has been sent yet) and delivery_error, which is invalid_address when the address does not exist or is not valid. Only a wrong address is reported: it is the only cause you can fix. A reminder resets both fields. The signer.delivery_failed event adds to data:
"delivery": {
"signer_id": "sgn_…",
"channel": "email",
"message": "invitation",
"reason": "invalid_address"
}
message is invitation, reminder, otp_code or completed (the “document signed” email). The address concerned can be read with GET /envelopes/{id}. The failure is also recorded in the envelope’s evidence log (signer.delivery_failed).
Request body
{
"id": "job_01J8Q…",
"type": "envelope.completed",
"created_at": "2026-10-07T14:21:40+00:00",
"mode": "live",
"data": {
"envelope": {
"id": "env_01J8Q…",
"status": "completed",
"title": "Quote no. 2026-0412",
"metadata": { "crm_id": "D-42" },
"signers": [{ "id": "sgn_…", "status": "signed", "rank": 1 }]
}
}
}
The webhook is deliberately lightweight: it contains no personal data and no document. It includes your metadata, so you can find the envelope in your tool without an extra call. On receipt, call GET /envelopes/{id} for the full state and, if the status is completed, download the sealed and evidence documents.
Verifying the signature (mandatory)
| Header | Content |
|---|---|
Signoui-Event |
Event type |
Signoui-Delivery |
Unique delivery identifier, for deduplication |
Signoui-Signature |
t=<unix timestamp>,v1=<HMAC-SHA256 in hexadecimal> |
User-Agent |
Signoui-Webhooks/1.0 |
The signature is HMAC-SHA256(secret, "<t>." + raw body). Verify it on the raw body, before decoding it, and reject deliveries whose t is more than 5 minutes old, to block replays.
Python (Flask, FastAPI, Django):
import hmac, hashlib, time
def verify_signoui(secret: str, signature_header: str, raw_body: bytes, tolerance: int = 300) -> bool:
parts = dict(p.split("=", 1) for p in signature_header.split(","))
t, v1 = int(parts["t"]), parts["v1"]
if abs(time.time() - t) > tolerance:
return False
expected = hmac.new(secret.encode(), f"{t}.".encode() + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, v1)
PHP:
<?php
function verify_signoui(string $secret, string $header, string $rawBody, int $tolerance = 300): bool {
parse_str(str_replace(',', '&', $header), $p); // ['t' => '…', 'v1' => '…']
if (abs(time() - (int) $p['t']) > $tolerance) return false;
$expected = hash_hmac('sha256', $p['t'] . '.' . $rawBody, $secret);
return hash_equals($expected, $p['v1']);
}
// $raw = file_get_contents('php://input');
// verify_signoui($secret, $_SERVER['HTTP_SIGNOUI_SIGNATURE'], $raw);
Node.js (with Express, use express.raw({ type: 'application/json' }) to keep the raw body):
const crypto = require("crypto");
function verifySignoui(secret, header, rawBody, tolerance = 300) {
const p = Object.fromEntries(header.split(",").map((s) => s.split("=")));
if (Math.abs(Date.now() / 1000 - Number(p.t)) > tolerance) return false;
const expected = crypto.createHmac("sha256", secret).update(`${p.t}.`).update(rawBody).digest("hex");
return expected.length === p.v1.length &&
crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(p.v1));
}
Delivery and retries
Respond with a 2xx code within 10 seconds; if your processing takes long, do it in the background. Any other response, or a timeout, triggers spaced retries: 30 seconds, 2 minutes, 8 minutes, 32 minutes, then 2 hours.
After the fifth failure, the webhook is disabled and a webhook.disabled event is recorded; re-enable it from the customer area once the problem is fixed. The same delivery may exceptionally arrive twice: deduplicate on Signoui-Delivery.
The URL must be HTTPS and public (no private network address), and redirects are not followed.
Embedded signing
Is your customer already logged in to your website or your application? They can sign without leaving it. Three independent settings, passed when creating the signer, to combine as your case requires:
| Setting | Values | What it changes |
|---|---|---|
delivery |
email (default), sms, none |
How the signer receives their invitation. With none, Signoui sends nothing: you get the link via sign-link and open it in your site |
otp_channel |
sms (default), email, choice, none |
How the signature is confirmed. With none, no code: you declare that you have identified the signer yourself (external_id required). Read what you take on first |
flow |
standard (default), express |
With express, everything fits on one page: the signer goes straight to signing |
The shortest flow
Your user is logged in on your side, has already viewed the document in your interface, and clicks “Sign”:
POST /envelopes/{id}/signers
{
"full_name": "Jean Client",
"email": "jean@exemple.fr",
"external_id": "user-42",
"delivery": "none",
"otp_channel": "none",
"flow": "express",
"return_url": "https://www.monsite.fr/contrats/123"
}
After sending the envelope, request a link with sign-link, then display it in an iframe or redirect your user to it. They see a single page: the document (which they can scroll through), their signature field (typed name or drawn with a finger) and any other fields, the consent checkbox, and a « Signer le document » (Sign the document) button. One click and it is signed, and the signer.signed webhook goes out immediately.
What the evidence file still always contains in this flow: the declared identity and your external_id, the pages viewed and the time spent, the text and version of the consent ticked, the IP address and the browser, the timestamp, the SHA-256 hash of the document, then PAdES sealing and time anchoring.
What it no longer contains: proof that the document was read through to the last page before signing was possible, and the code received on a second channel.
Express with a code: the recommended compromise
You can simplify the flow while keeping a code: flow: "express" with otp_channel: "sms" shows the same single page, whose button becomes « Signer avec un code » (Sign with a code), followed by the SMS code screen. It is the right choice when the document is a real commitment (contract, mandate): a single page, but identification through two channels.
POST /envelopes/{id}/signers/{signer_id}/sign-link
Optional body: validity period from 5 minutes to 24 hours (60 minutes by default) and return page.
{ "ttl_minutes": 60, "return_url": "https://www.monsite.fr/merci" }
Response:
{
"url": "https://app.signoui.fr/sign/…",
"expires_at": "2026-10-08T10:12:00+00:00",
"signer_id": "sgn_…",
"mode": "embedded"
}
Conditions: the envelope has been sent (pending) and it is this signer’s turn (in a sequential workflow). Each call generates a new link and makes the previous one unusable; the link sent by email, if any, remains valid. The link is personal: generate it when your customer is logged in on your side, and do not pass it on elsewhere. It works whatever the delivery and flow.
In an iframe
First declare your domains in the customer area, under Développeurs → Signature intégrée (Developers → Embedded signing) (for example https://www.monsite.fr, one per line, 10 maximum; reserved for the account owner). A reminder is shown in Développeurs → Démarrer (Developers → Get started) if your account requests sign-link links without a declared domain. Without this, browsers refuse to display the signing page in an iframe. Then:
<iframe src="URL_RETURNED_BY_SIGN_LINK" title="Document signing"
style="width:100%;height:760px;border:0"></iframe>
<script>
window.addEventListener("message", function (e) {
if (e.origin !== "https://app.signoui.fr") return; // only listen to Signoui
if (e.data && e.data.type === "signoui:signed") {
// e.data.envelope_id, e.data.signer_id,
// e.data.envelope_status: "pending" or "completed"
// Hide the iframe and show your confirmation.
}
});
</script>
On mobile, display the iframe at full width (the page is designed for 390 pixels and up) or prefer a redirect. The signing page works without third-party cookies, including in Safari and in private browsing.
By redirect
Redirect your customer to the URL obtained. At the end, if a return_url is set (when creating the signer or in the sign-link call), a « Revenir sur le site » (Return to the site) button is shown and the return happens automatically after 2.5 seconds.
Do not treat the return to your site as proof of signature: your customer may close the page before. The source of truth is the signer.signed webhook (or GET /envelopes/{id}).
Signing without a code: what you take on
With otp_channel: "none", Signoui no longer verifies the signer’s identity through a second channel: you identified them, through their account with you. The evidence says so explicitly: identification: "delegated_to_sender" and your external_id in the log, and the notice « identification déléguée à l’émetteur » (identification delegated to the sender) on the certificate. Consent, timestamp, IP address and sealing remain identical, as does the complete reading of the document in the standard flow.
In the event of a dispute, the strength of the signature then depends on your own authentication (password only, two-factor authentication…), which you will need to be able to demonstrate. It is a common choice for quotes and contracts between a business and an already identified customer. For important commitments, keep the SMS code (otp_channel: "sms"), which also works with embedded signing. This option is governed by our terms of use (in French).
No messages from Signoui. With otp_channel: "none", the signer has no contact with Signoui: no invitation, no code, no confirmation email once the document is sealed. And if all the signers in the envelope are on none, Signoui does not send you any email either (no “signed”, “declined” or “expired”): your platform is kept informed by the envelope.completed, envelope.declined and envelope.expired webhooks, and by GET /envelopes/{id}.
It is therefore up to you to deliver the signed PDF to the signer: on receipt of envelope.completed, download the sealed document and pass it on to them (your customer area, your own email). The signer’s email remains mandatory, as it appears in the evidence file. The evidence file is as complete as for any other send. As soon as one signer in the envelope has a code (SMS or email), the usual emails resume.
Acceptance attestation
For acceptance of terms of use or terms of sale, a mandate, a consent or a purchase order validated within your application: your user is already logged in on your side, you display the text however you like, they click “I accept”, and you declare this acceptance to Signoui. The consent is collected by you and declared to Signoui, which attests the integrity, the date and the declaration: it seals and timestamps the document. No Signoui interface, no email, no SMS: the user never leaves your application.
What it is worth
Read this paragraph before choosing this mode. Signoui was not present for the reading or the click: you collected them. Signoui attests three things, and the certificate states them plainly:
- that this document existed on that date and has not been modified since (PAdES sealing, RFC 3161 timestamp, OpenTimestamps anchoring);
- that your organisation declared, at a given time and from your server, that a given person (name, email, your
external_id) had accepted it at a given time, from a given IP address, by validating a given text; - that this declaration is recorded in a chained log that nobody, including you, can modify after the fact.
It is a simple electronic signature within the meaning of eIDAS, suitable for terms of use or an ordinary service contract. In the event of a dispute, its strength rests on your own logs and on the quality of the user’s authentication on your side (password, two-factor authentication…), which you will need to be able to demonstrate. For a high-stakes contract, prefer embedded signing with an SMS code, which Signoui verifies itself. This mode is governed by our terms of use (in French).
The flow in three calls
# 1. The envelope
ENV=$(curl -s -X POST https://api.signoui.fr/v1/envelopes \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"title":"Terms of use — v3"}' | jq -r .id)
# 2. The document: your text, exactly as displayed (or a PDF)
curl -s -X POST https://api.signoui.fr/v1/envelopes/$ENV/documents/text \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"title":"Terms of use — v3","text":"# Terms of use\n\n…"}'
# 3. The attestation, at the moment of the click
curl -s -X POST https://api.signoui.fr/v1/envelopes/$ENV/attest \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-H "Idempotency-Key: accept-usr_42-cgu-v3" \
-d '{
"full_name": "Marie Dupont",
"email": "marie.dupont@exemple.fr",
"external_id": "usr_42",
"accepted_at": "2026-10-11T09:30:12+02:00",
"ip": "203.0.113.42",
"user_agent": "MyApp/2.1 (iPhone; iOS 18)",
"consent_text": "I have read and accept the terms of use"
}'
POST /envelopes/{id}/attest
Applies to a draft envelope, with a document and no signer. The response is the envelope with status sealing: sealing takes place within the next second.
| Field | Required | Role |
|---|---|---|
full_name, email |
yes | The person who accepted. The email is recorded in the evidence file; Signoui never writes to them |
external_id |
yes | Their identifier on your side (authenticated account): your evidential link between the click and a person |
accepted_at |
yes | Date and time of the click, ISO 8601 with time zone; not in the future, nor more than 30 days in the past. Declare the acceptance when it happens, not in batches |
consent_text |
yes | The exact text displayed with the button (10 to 2,000 characters). It appears on the certificate and in the log, with its hash |
ip, user_agent |
recommended | The user’s, as seen by your server at the moment of the click |
phone |
no | International format, recorded in the envelope, never used |
After that, everything works as for a signed envelope: envelope.completed webhook, envelope with status completed, download of the sealed PDF (sealed) and of the evidence archive (evidence). The archive additionally contains your text (document_source.txt), the declaration (consentement.txt) and, with a layout, its settings and the logo.
The signer appears with flow: "attestation", otp_channel: "none" and delivery: "none". The log carries a signer.attested event with the declared data, then signer.signed with identification: "attested_by_sender". The certificate spells out the mode in full (« consentement recueilli par l’émetteur dans sa propre application, non constaté par Signoui »: consent collected by the sender in its own application, not established by Signoui) and distinguishes the declared acceptance from its recording by Signoui, with your server’s IP address.
Billing: an attestation counts as one send, at the “without code” rate for accounts on monthly billing. The month’s free sends apply.
Best practices:
- one attestation per acceptance: one envelope per user and per version of the text;
- an
Idempotency-Keybuilt from the user and the version of the text, so you can replay a call without double billing; - keep your own record of the user’s authentication at that moment;
- send exactly the text displayed: if you change a comma in the terms, it is a new version, and therefore a new envelope for each new acceptance.
AI assistants (MCP server)
Signoui provides an MCP (Model Context Protocol) server at https://mcp.signoui.fr/mcp: an AI assistant (Claude, ChatGPT, Cursor…) can prepare an envelope, send it after the customer’s explicit approval, track signatures, send reminders and cancel. The assistant never signs: each signer signs with their own link and code. Overview for users: Signoui in your AI assistant.
Connecting
- Via “Connecter Signoui” (Connect Signoui) (claude.ai, ChatGPT…): add the connector
https://mcp.signoui.fr/mcp, log in to your Signoui account and choose Test or Live mode (live mode is reserved for the account owner). Signoui creates an “Assistant: …” API key (scopesenvelopes:readandenvelopes:write), visible and revocable in Développeurs → Clés (Developers → Keys). - With an API key (developer tools):
Authorization: Bearer sk_test_…orsk_live_…header. For example, in Claude Code:
claude mcp add --transport http signoui https://mcp.signoui.fr/mcp --header "Authorization: Bearer sk_test_…"
Tools and limits
Tools: account, prepare_from_text, prepare_from_pdf, send, list, status, remind, cancel, signed_document. send and cancel first return a summary and only act with confirm: true. For each signer, the assistant can choose the language (language: fr or en, fr by default).
The API rules apply as they are (scopes, test or live mode, send counting, 60 requests per minute per key), plus 20 envelopes prepared and 10 live envelopes sent per hour and per connection. A PDF passed by the assistant is 5 MB at most; beyond that, the customer uploads it from the link returned. The assistant cannot change a signer’s address or number: the customer does it from their account.
What you entrust to your assistant (document text, signer names) goes through that assistant’s provider, under its own terms; Signoui, signed documents and evidence remain hosted in France.
Idempotency
On POST /envelopes and POST /envelopes/{id}/send, pass an Idempotency-Key header: a unique string of your choice, for example your quote number. Replaying the same request within 24 hours returns the original response, without recreating or resending anything. Reusing the same key with a different body gives a 409 idempotency_mismatch error. With an Idempotency-Key, the original response and its replays carry the 201 code (200 without the header for send and attest): check for a 2xx code, not an exact value.
This is what lets you safely retry a call that failed on a network problem: never two envelopes, never two invitations.
Errors
All errors have the same shape (the API returns message in French):
{
"error": {
"code": "credits_insufficient",
"message": "Solde insuffisant : 2 envois nécessaires (un par signataire), 1 disponible. Achetez un pack d'envois.",
"param": null
}
}
| HTTP | code |
Meaning |
|---|---|---|
| 401 | missing_api_key, invalid_api_key |
Key missing, unknown or revoked |
| 402 | credits_insufficient, organization_suspended |
Insufficient send balance; organisation suspended |
| 403 | insufficient_scope, email_not_confirmed |
The key does not have the required scope; account email address not yet confirmed (live send) |
| 404 | not_found, document_not_found |
Resource does not exist, or belongs to another organisation (same response, deliberately) |
| 409 | invalid_transition, signer_duplicate, rank_taken, idempotency_mismatch |
Action not possible in the current state |
| 422 | validation_error, document_missing, signer_missing, signature_field_missing |
Invalid input (param indicates the field at fault) |
| 429 | rate_limited |
Too many requests: the Retry-After header gives the wait in seconds (60) before retrying |
Best practices
- Check what was signed. Keep the
sha256of the document sent and compare it withdata.document_sha256in the log’ssigner.signedevent: it is proof that the signed document is indeed the one you sent. - Archive the evidence on your side. Download the
evidencearchive as soon asenvelope.completedarrives. Signoui keeps it for 10 years, but the evidence belongs to you. - Separate test and production. An
sk_test_key for development and acceptance testing, a separatesk_live_key in production, each with only the scopes it needs. Only the account owner can create ansk_live_key. - Prefer the SMS code (
otp_channel: "sms"): a second channel, independent of email, strengthens the signer’s identification. - For a simple acceptance within your application (terms of use, mandate, consent), use the acceptance attestation: three calls, no Signoui interface.
- Keep the key on your server, never in a web page or a mobile app.
- Make your calls replayable with
Idempotency-Key, and process webhooks in the background.
Monthly billing
Your organisation can switch to monthly billing: no more packs to buy in advance; every send in the month, through the API as well as from the customer area, beyond the month’s 2 free sends is invoiced on the 1st of the following month, with no minimum. Reserved for businesses (valid SIREN or SIRET) that have registered a payment method.
The price scale is degressive: each send is billed at the price of its tier, according to its rank in the month (sends with and without a code combined, in chronological order, after the free sends).
| Billable sends in the month | With SMS or email code | Without code (otp_channel: "none") or acceptance attestation |
|---|---|---|
| 1 to 10 | €1.50 | €0.40 |
| 11 to 50 | €0.85 | €0.40 |
| 51 to 200 | €0.66 | €0.40 |
| 201 to 500 | €0.47 | €0.35 |
| 501 to 1,000 | €0.40 | €0.30 |
| 1,001 and above | €0.35 | €0.25 |
Prices excl. VAT. At pack sizes, the total is never more expensive than the pack: 50 sends with a code = €49 excl. VAT, 200 = €148, 1,000 = €489. Example: 60 sends with a code in the month = 10 × 1.50 + 40 × 0.85 + 10 × 0.66 = €55.60 excl. VAT.
The invoice is issued on the 1st of the month for the previous month, with one line per tier and per send type. It is charged automatically to the registered payment method (card or SEPA mandate, required to subscribe, changeable in Facturation → Moyens de paiement → Changer de moyen de paiement (Billing → Payment methods → Change payment method), one method per account); an account opened by our team without a payment method receives it by email, payable by bank transfer or by card (link). A custom price (single price, minimum) is possible depending on your volume. Accounts that switched to monthly billing before this price scale keep their contract (€0.60 / €0.40 excl. VAT, minimum €150 excl. VAT), unless otherwise agreed.
On a monthly account, GET /me returns billing_mode: "api_monthly" and sends_available: null, and GET /me/usage gives at any time the month’s sends and the estimated amount of the next invoice.
Subscribing online
The account owner switches to monthly billing from the customer area: menu Facturation (Billing) → tab Mes envois (My sends) → Facturation au mois (Monthly billing) → Passer à la facturation mensuelle (Switch to monthly billing).
- Enter your company’s SIRET, checked against the French government’s business directory (an unknown number or a closed business is refused), then the billing email and address (by default, the registered office address).
- Accept the price scale and the terms of sale (in French).
- Register a card or a SEPA mandate on our secure payment page. Nothing is charged at this step.
The account switches to monthly billing as soon as the payment method is confirmed, and an email confirms it. No minimum commitment period. For a custom price or a return to prepaid packs, open a request from your customer area, Support tab.
Limits
| Limit | Value |
|---|---|
| PDF size | 20 MB and 300 pages maximum, one PDF per envelope |
| Document created from text | 20 to 200,000 characters |
| Layout logo | PNG or JPEG, 1 MB maximum |
metadata |
4 KB maximum |
| Rate | 60 requests per minute per key |
| Signing deadline | 1 to 180 days |
| Language | Emails, SMS and signing pages in French or English, chosen for each signer (locale); dashboard and support in French |
A technical question, a need for a higher rate limit or a custom price? Already a customer: open a request from your customer area, Support tab. No account yet: use the contact form (in French). A developer will answer you.
Last updated: .