Switch from SignatureAPI
Sign API answers every SignatureAPI v1 request the same way: the same endpoints, request and response bodies, IDs, statuses, webhook events and signatures, and the same HTTP status codes. Moving takes two changes.
The two changes
- Base URL. Replace
https://api.signatureapi.com/v1withhttps://api.signapi.lumin.example/v1, or with your region's host (see Regions). - API key. Create a key in the Sign API dashboard and use it in the same
X-API-Keyheader. Keys keep thekey_test_andkey_live_prefixes.
Webhook endpoints are set up in our dashboard, so add yours there; deliveries are signed the same way, so your verification code keeps working with the new signing secret.
What is different
- Error
typeURIs. Problem bodies have the same fields and HTTP statuses, buttypepoints to our own error pages and the code names are ours. If your code branches ontype, map it with the table below. Code that checks the HTTP status needs no change. - Webhook source IPs. Each region delivers from its own fixed addresses, listed on Regions. Update any allow-list.
- Larger files. Every uploaded or fetched file may be up to 20 MB.
- Pricing. Live envelopes are paid from prepaid credits; there is no monthly plan. Check the balance with Get the balance.
- More. Markdown and HTML documents, stored templates and 54 signing languages. None of these change how an existing request behaves: see Sign API extensions.
CLI and AI tools
The signapi CLI takes the same commands, options and exit codes as SignatureAPI's CLI, and reads
SIGNATUREAPI_KEY when SIGNAPI_KEY is unset, so CI secrets keep working. Scripts need only the
program name changed. See CLI.
Error codes
Each SignatureAPI error and the Sign API code that replaces it. The HTTP status is the same.
| SignatureAPI error | Sign API code | Status |
|---|---|---|
attestation-not-allowed |
attestation_not_enabled |
403 |
bad-request |
request_malformed |
400 |
blocked-email |
recipient_email_blocked |
422 |
cannot-cancel |
envelope_not_cancelable |
409 |
cannot-convert |
document_conversion_failed |
422 |
cannot-create-ceremony |
ceremony_not_creatable |
409 |
cannot-create-sender |
sender_creation_not_allowed |
403 |
cannot-delete |
envelope_not_deletable |
409 |
cannot-download-document |
document_download_failed |
422 |
cannot-download-file |
file_download_failed |
422 |
cannot-parse-document |
document_unreadable |
422 |
cannot-parse-file |
file_unreadable |
422 |
cannot-populate-template |
template_population_failed |
422 |
cannot-replace |
recipient_not_replaceable |
409 |
cannot-resend |
recipient_not_resendable |
409 |
deliverable-encryption-disabled |
deliverable_encryption_not_enabled |
403 |
deliverable-not-ready |
deliverable_not_ready |
404 |
duplicate-document-key |
document_key_duplicate |
409 |
duplicate-placeholder |
placeholder_duplicate |
422 |
empty-document |
document_empty |
422 |
envelope-not-completed |
envelope_not_completed |
409 |
expired-upload-token |
upload_url_expired |
422 |
filed-expired |
upload_expired |
409 |
fixed-position-outside-document |
fixed_position_page_missing |
422 |
forbidden |
forbidden |
403 |
incompatible-places |
places_incompatible |
422 |
invalid-api-key |
api_key_invalid |
401 |
invalid-field-type |
template_field_type_invalid |
422 |
invalid-file-format |
file_format_invalid |
422 |
invalid-included-document |
included_document_invalid |
409 |
invalid-place-recipient |
place_recipient_invalid |
422 |
invalid-placeholder |
placeholder_invalid |
422 |
invalid-places |
places_invalid |
422 |
invalid-qualified-attestation |
qes_attestation_invalid |
422 |
invalid-qualified-automatic-signer |
qes_automatic_signer_invalid |
422 |
invalid-qualified-deliverable-documents |
qes_deliverable_documents_invalid |
422 |
invalid-qualified-deliverable-encryption |
qes_deliverable_encryption_invalid |
422 |
invalid-qualified-envelope-completed-date-place |
qes_envelope_date_place_invalid |
422 |
invalid-qualified-mixed-signers |
qes_mixed_signers |
422 |
invalid-qualified-places |
qes_places_invalid |
422 |
invalid-qualified-recipient-places |
qes_recipient_places_invalid |
422 |
invalid-qualified-routing |
qes_routing_invalid |
422 |
invalid-upload-token |
upload_url_invalid |
422 |
live-mode-disabled |
live_mode_not_enabled |
401 |
live-mode-paused |
live_mode_paused |
402 |
missing-preset-symbol |
preset_symbol_missing |
422 |
mixed-placeholders |
placeholders_mixed |
422 |
mode-conflict |
mode_conflict |
422 |
mode-error |
mode_mismatch |
403 |
no-pages |
document_has_no_pages |
422 |
no-signing-place |
signing_place_missing |
422 |
non-existing-place |
place_not_found |
422 |
not-found |
resource_not_found |
404 |
place-outside-page |
place_out_of_bounds |
422 |
placeholder-position-conflict |
placeholder_position_conflict |
422 |
qualified-signature-not-enabled |
qes_not_enabled |
422 |
qualified-signing-worker-not-connected |
qes_worker_not_connected |
422 |
repeated-sender |
sender_already_exists |
409 |
request-too-large |
request_too_large |
413 |
sender-not-allowed |
sender_not_verified |
422 |
server-error |
internal_error |
500 |
template-error |
template_syntax_invalid |
422 |
too-early-to-resend |
resend_too_early |
409 |
too-many-attempts |
too_many_attempts |
409 |
too-many-pages |
document_too_many_pages |
422 |
too-many-places |
document_too_many_places |
422 |
too-many-requests |
rate_limited |
429 |
unknown-signer |
recipient_unknown |
422 |
unsupported-media-type |
media_type_unsupported |
415 |
unsupported-recipient-type |
recipient_type_unsupported |
422 |
upload-already-stored |
upload_already_permanent |
409 |
upload-claim-mismatch |
upload_checksum_mismatch |
422 |
upload-idempotency-conflict |
upload_url_conflict |
409 |
upload-key-conflict |
upload_key_taken |
409 |
user-storage-limit-reached |
storage_limit_reached |
400 |
validation-error |
validation_failed |
422 |