API reference
POSTPublic
Sign a public envelope
/api/v4/public/envelopes/{signer_uuid}/sign
All fields optional. OTP must be verified; identity must be cleared when required.
extra_positions is keyed by document uuid. Each mark: page, x, y (mm, 0–5000), optional width/height, type (signature, initials, seal, qrcode, date, text, approval). Max 50 marks per document.
400 SEAL_CONSENT_REQUIRED when a seal is applied without seal_consent. 403 identity codes (IDENTITY_REQUIRED, IDENTITY_PENDING, …). 503 TIMESTAMP_UNAVAILABLE_RETRY is retryable.
Path parameters
| Field | Type | Description |
|---|---|---|
signer_uuid Required | string | Path parameter signer_uuid. |
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
signature_image_base64 | string | PNG data URL of the signature. |
initials_image_base64 | string | PNG data URL of the initials. |
seal_image_base64 | string | PNG data URL of the seal. |
seal_consent | boolean | Consent to apply the company seal when required. e.g. true |
mfa_code | string | TOTP for qualified internal signers. e.g. "123456" |
second_otp_code | string | Second email OTP when TOTP is not enrolled. |
extra_positions | object | Extra marks keyed by document uuid. |
Responses
| Status | Meaning |
|---|---|
| 200 | See the example response. |
| 401 | Missing or invalid Bearer token. |