For developers

E-signatures from your own code, or from an AI assistant

Everything in the app is available through the product API: the same documents, the same audit trail, the same fingerprints. API, webhooks and MCP are on the Business plan and the trial.

Start

Authenticate with a project key

In the app, open Projects and API, choose a project and create an API key. Keys start sf_, are shown once and are stored only as a hash. A key can do what its project can and nothing else, and you can revoke it at any time.

Every request and webhook carries your external_ref and metadata, so you can match requests to your own records. The in-app Integration guide has every example filled in with your project’s values.

curl -X POST https://signferry.co.uk/api/v1/envelopes \
  -H "Authorization: Bearer $SIGNFERRY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template_id": "TEMPLATE_ID",
    "subject": "Your services agreement",
    "recipients": [
      { "role": "Client", "name": "Anna Client", "email": "anna@example.com" }
    ],
    "external_ref": "deal-1042",
    "expires_in_days": 14,
    "remind_every_days": 3
  }'

REST API

The main endpoints

JSON over HTTPS at /api/v1. Embedded signing: set embedded: true and nobody is emailed; ask for a signing link when it is someone’s turn and they return to your return_url afterwards.

Product API endpoints
POST /api/v1/envelopesSend a template or your own PDFs; embedded: true for in-app signing
GET /api/v1/envelopesList requests, filter by status or external_ref
GET /api/v1/envelopes/{id}Status, people, views and the SHA-256 of every file
POST /api/v1/envelopes/{id}/signing-urlA fresh signing link for whoever’s turn it is
POST /api/v1/envelopes/{id}/correctFix people, deadline or reminders while it is out
POST /api/v1/envelopes/{id}/remind | /cancelChase or stop a request
GET /api/v1/envelopes/{id}/eventsHash-chained audit trail with a chain check
GET /api/v1/envelopes/{id}/integrityRe-hash stored files and the audit chain now
GET /api/v1/envelopes/{id}/downloadSigned PDF with its audit certificate
GET /api/v1/templatesTemplates and their roles
POST /api/v1/templates/{id}/bulkOne request each for up to your plan’s bulk limit
POST /api/v1/templates/{id}/linksPublish a template as a public signing link
POST /api/v1/ai/draft | /ai/reviewDraft a document for a country’s law; check it
GET /api/v1/envelopes/{id}/insightsKey terms the AI read: parties, value, dates, notice
POST /api/v1/documents/generateFill a Word template with your data
GET /api/v1/verify?sha256=…Is this file one Signferry completed?

Also: signing groups, contacts, contract repository and obligations, negotiations, retention and legal holds, SAP and Salesforce helpers.

Webhooks

Know the moment something happens

Add an endpoint to a project and choose its events. Deliveries are queued with the audit event and retried at 1, 2, 4 … minutes, up to 12 attempts over about a day, with a delivery log in the app.

Each request carries X-Signferry-Event, X-Signferry-Delivery (the same on every retry) and X-Signferry-Signature: t=…,v1=…, an HMAC-SHA256 of t.body with your webhook secret. Reject anything older than five minutes.

envelope.sentrecipient.sentrecipient.viewedrecipient.signedenvelope.completedenvelope.declinedenvelope.cancelledenvelope.expiredrecipient.reassignedrecipient.witnessedrecipient.paidrecipient.id_verifiedrecipient.passkey_confirmed

REST hooks for no-code tools: POST /api/v1/hooks with a target_url and event subscribes, DELETE /api/v1/hooks/{id} unsubscribes, and GET /api/v1/triggers/{event} returns sample payloads.

import crypto from 'node:crypto'

export function verify(rawBody, header, secret) {
  const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')))
  const expected = crypto.createHmac('sha256', secret)
    .update(parts.t + '.' + rawBody).digest('hex')
  const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300
  return fresh && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1))
}

Model Context Protocol

Signferry as a remote MCP server

Connect Claude or any MCP client that supports remote HTTP servers to https://signferry.co.uk/mcp with a project API key. Every tool is a call to the same product API made with that key, so the assistant can do what the key can, in its project, and nothing else.

Tools cover drafting and reviewing documents, sending from drafts, templates or PDFs, bulk send, tracking and reminders, correcting recipients, audit trails and integrity checks, key terms, questions about a document and searching contracts. Anything that emails people, sends or cancels shows a preview first and only acts when called again with confirm: true.

claude mcp add --transport http signferry https://signferry.co.uk/mcp \
  --header "Authorization: Bearer sf_your_project_key"

# or, in any MCP client's config
{
  "mcpServers": {
    "signferry": {
      "type": "http",
      "url": "https://signferry.co.uk/mcp",
      "headers": { "Authorization": "Bearer sf_your_project_key" }
    }
  }
}

Get a key and send your first request

The Business trial includes the API, webhooks and the MCP server. No card needed.