Developers
The LoqSign API
Send contracts for signature from your own systems — fill a template with your customer’s data in one call, follow every signature as it happens, and download the executed copy when it is done.
Templates with prefill
Design a document once in the app. Then name the signers by role and fill its fields by name, per customer, in one request.
Track to the signed copy
Signed webhooks for every step; remind, void, signing links, the executed PDF and its certificate, in the sender's language.
A real test mode
Test keys behave like live ones, but nobody is messaged, no quota is used, and the signed copy and certificate are stamped TEST.
One call to send
Create a key in Settings → API keys, then create and send a document from a template:
Base URL
https://loqsign-api-prod.fly.dev/api/v1curl -X POST "https://loqsign-api-prod.fly.dev/api/v1/templates/$TEMPLATE_ID/documents" \
-H "Authorization: Bearer $LOQSIGN_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-10482" \
-d '{
"recipients": [{ "role": "Client", "name": "Dana Cohen", "email": "dana@example.com" }],
"prefill": { "contract_number": "C-10482" },
"send": true
}'- One error shape everywhere: code to branch on, a message in the caller’s language, details and a request id.
- Send an Idempotency-Key and retry without fear: the same key returns the first answer instead of a second document.
- Keys starting with sk_test_ are test keys: their documents are flagged testMode, their signed copies are stamped TEST, and nobody is emailed.
- Each key has its own permissions, expiry, rate limit and request history. When its creator leaves, the key passes to their successor and its old secret stops at once, until the successor rotates it.
Reference
Read from the live OpenAPI document. Paths and summaries are in English, as code is; the full schemas are in the spec.
Templates
- GETList templates
/api/v1/templates - GETGet a template with its roles and merge fields
/api/v1/templates/{id} - POSTCreate (and optionally send) a document from a template
/api/v1/templates/{id}/documents
Documents
- GETList documents
/api/v1/documents - POSTCreate a document and get an upload URL
/api/v1/documents - POSTConfirm the upload landed
/api/v1/documents/{id}/confirm - PUTSet recipients and fields
/api/v1/documents/{id}/prepare - POSTSend a prepared draft
/api/v1/documents/{id}/send - GETRead recipient questions and sender replies
/api/v1/documents/{id}/questions - GETGet a document
/api/v1/documents/{id} - POSTVoid a document
/api/v1/documents/{id}/void - POSTRemind pending recipients
/api/v1/documents/{id}/remind - GETSigning links for embedded or self-delivered signing
/api/v1/documents/{id}/signing-links - POSTA single-use URL to sign inside your own page (embedded signing)
/api/v1/documents/{id}/recipients/{recipientId}/embedded-sessions - GETA short-lived URL for the executed copy (or another file)
/api/v1/documents/{id}/download - GETThe certificate of completion (PDF)
/api/v1/documents/{id}/certificate
Bulk sends
- POSTSend a template to many recipient sets
/api/v1/bulk-sends - GETProgress of a bulk send
/api/v1/bulk-sends/{id}
Contacts
- GETList contacts
/api/v1/contacts - POSTCreate a contact
/api/v1/contacts - GETGet a contact
/api/v1/contacts/{id} - PATCHUpdate a contact
/api/v1/contacts/{id} - DELETEDelete a contact
/api/v1/contacts/{id}
Webhooks
- GETList webhook endpoints
/api/v1/webhooks - POSTSubscribe a webhook endpoint
/api/v1/webhooks - DELETEUnsubscribe a webhook endpoint
/api/v1/webhooks/{id}
Spec
- GETThis document
/api/v1/openapi.json