Skip to content

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/v1
curl -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

  • GET/api/v1/templates
    List templates
  • GET/api/v1/templates/{id}
    Get a template with its roles and merge fields
  • POST/api/v1/templates/{id}/documents
    Create (and optionally send) a document from a template

Documents

  • GET/api/v1/documents
    List documents
  • POST/api/v1/documents
    Create a document and get an upload URL
  • POST/api/v1/documents/{id}/confirm
    Confirm the upload landed
  • PUT/api/v1/documents/{id}/prepare
    Set recipients and fields
  • POST/api/v1/documents/{id}/send
    Send a prepared draft
  • GET/api/v1/documents/{id}/questions
    Read recipient questions and sender replies
  • GET/api/v1/documents/{id}
    Get a document
  • POST/api/v1/documents/{id}/void
    Void a document
  • POST/api/v1/documents/{id}/remind
    Remind pending recipients
  • GET/api/v1/documents/{id}/signing-links
    Signing links for embedded or self-delivered signing
  • POST/api/v1/documents/{id}/recipients/{recipientId}/embedded-sessions
    A single-use URL to sign inside your own page (embedded signing)
  • GET/api/v1/documents/{id}/download
    A short-lived URL for the executed copy (or another file)
  • GET/api/v1/documents/{id}/certificate
    The certificate of completion (PDF)

Bulk sends

  • POST/api/v1/bulk-sends
    Send a template to many recipient sets
  • GET/api/v1/bulk-sends/{id}
    Progress of a bulk send

Contacts

  • GET/api/v1/contacts
    List contacts
  • POST/api/v1/contacts
    Create a contact
  • GET/api/v1/contacts/{id}
    Get a contact
  • PATCH/api/v1/contacts/{id}
    Update a contact
  • DELETE/api/v1/contacts/{id}
    Delete a contact

Webhooks

  • GET/api/v1/webhooks
    List webhook endpoints
  • POST/api/v1/webhooks
    Subscribe a webhook endpoint
  • DELETE/api/v1/webhooks/{id}
    Unsubscribe a webhook endpoint

Spec

  • GET/api/v1/openapi.json
    This document
Developers — LoqSign API | LoqSign