API Reference

Siglot.ai API Documentation

Build powerful e-signature workflows with our REST API. Send documents, manage templates, and track signing status programmatically.

Authentication

Authenticate your API requests by including your API key in the Authorization header. You can find your API key in the Settings page.

HTTP Header
Authorization: Bearer sk_live_...

Keep your API key secure. Never expose it in client-side code or public repositories.

Quickstart

Install our SDK and send your first document for signature in minutes.

Install the SDK
npm install @siglot/sdk
example.js
import Siglot from '@siglot/sdk';

const siglot = new Siglot('sk_live_...');

// Create and send a document for signature
const document = await siglot.documents.create({
  file: fs.readFileSync('contract.pdf'),
  title: 'Sales Agreement',
  signers: [
    {
      email: '[email protected]',
      name: 'John Doe',
      fields: [
        { type: 'signature', page: 1, x: 100, y: 500 },
        { type: 'date', page: 1, x: 300, y: 500 }
      ]
    }
  ],
  message: 'Please sign this agreement at your earliest convenience.'
});

console.log('Document sent:', document.id);

API Endpoints

Base URL: https://api.siglot.ai

POST/v1/documents

Create a new document and send for signature

GET/v1/documents/:id

Retrieve a document by ID

GET/v1/documents

List all documents

DELETE/v1/documents/:id

Cancel a document

POST/v1/documents/:id/remind

Send a reminder to pending signers

GET/v1/templates

List all templates

POST/v1/templates/:id/documents

Create a document from a template

POST/v1/webhooks

Create a webhook endpoint

Webhooks

Receive real-time notifications when documents are viewed, signed, or completed.

Available Events

document.sent
document.viewed
document.signed
document.completed
document.declined
document.expired
Webhook Payload Example
// Webhook payload for document.completed event
{
  "event": "document.completed",
  "created_at": "2026-01-29T10:30:00Z",
  "data": {
    "document_id": "doc_abc123",
    "title": "Sales Agreement",
    "status": "completed",
    "signers": [
      {
        "email": "[email protected]",
        "name": "John Doe",
        "signed_at": "2026-01-29T10:29:45Z"
      }
    ],
    "download_url": "https://api.siglot.ai/v1/documents/doc_abc123/download"
  }
}

SDKs & Libraries

JS
Node.js / JavaScript
npm install @siglot/sdk
PY
Python
pip install siglot
RB
Ruby
gem install siglot
PHP
PHP
composer require siglot/sdk

Need help?

Our developer support team is here to help you integrate Siglot.ai into your application.