SignOnChain
यह पेज सिर्फ़ अंग्रेज़ी में उपलब्ध है।

Developers

Everything in the app is available over a REST API and as an MCP server, so your backend or your AI agent can send documents, follow signatures and get the onchain proof. Same pricing: 1 credit per document.

MCP for AI agents

Endpoint https://signdocumentsonchain.com/api/mcp (Streamable HTTP), authenticated with your API key. Tools: get_account, quote, send_document, list_documents, get_document, remind_signer, cancel_document, verify.

Claude Code:

claude mcp add --transport http signonchain https://signdocumentsonchain.com/api/mcp \
  --header "Authorization: Bearer soc_YOUR_KEY"

Any client with a JSON config (Cursor, Windsurf, Claude Desktop via mcp-remote…):

{
  "mcpServers": {
    "signonchain": {
      "url": "https://signdocumentsonchain.com/api/mcp",
      "headers": { "Authorization": "Bearer soc_YOUR_KEY" }
    }
  }
}

Agents are told to confirm the document, signers and cost with you before sending, and to ignore instructions found inside documents. Every send takes an idempotency key, so retries never email or charge twice.

REST API

Base URL https://signdocumentsonchain.com/api/v1. Send Authorization: Bearer soc_… on every request.

Send a PDF for signature:

curl https://signdocumentsonchain.com/api/v1/envelopes \
  -H "Authorization: Bearer $SOC_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -F document=@contract.pdf \
  -F 'signers=[{"email":"ana@example.com","name":"Ana Gómez"},{"email":"bob@example.com"}]' \
  -F title="Consulting agreement"

Or JSON with the PDF base64-encoded:

POST /api/v1/envelopes
{
  "document": { "filename": "nda.pdf", "content_base64": "JVBERi0xLjQK..." },
  "signers": [{ "email": "ana@example.com", "name": "Ana Gómez" }],
  "title": "Mutual NDA",
  "message": "Please sign by Friday"
}

Then poll the document until it is completed and certified:

GET /api/v1/envelopes/{id}

{
  "id": "5955ce9b-…",
  "status": "completed",
  "signers": [{ "email": "ana@example.com", "status": "signed", "signed_at": "…" }],
  "certification": {
    "status": "confirmed",
    "commitment": "da1e163b…",
    "chain": "Base",
    "transaction": "0x…",
    "explorer_url": "https://basescan.org/tx/0x…",
    "verify_url": "https://signdocumentsonchain.com/verify/da1e163b…"
  },
  "files": { "signed": "https://…/api/v1/download/…", "certificate": "https://…" }
}
MethodPathWhat it does
GET/meCredits, free documents left this month, subscription
GET/quote?signers=3Credits a send would cost
POST/uploadsURL to PUT a large file to (any type, up to 100 MB)
POST/envelopesSend a document (PDF or any file) for signature
GET/envelopesList documents (status, limit)
GET/envelopes/{id}Status, signers, certification, download links
POST/envelopes/{id}/remindRe-send a signer’s link
POST/envelopes/{id}/cancelCancel and refund unsigned signers
GET/envelopes/{id}/files/{original|signed|certificate}Download files
GET/verify/{sha256}Public verification (no key)

Errors and limits

Errors are {"error":{"code","message"}} with status 400 (invalid_request), 401 (unauthorized), 402 (insufficient_credits), 404 (not_found). Any file type is accepted, up to 100 MB. Request bodies are limited by the hosting platform to about 4 MB, so send small files inline (base64 or multipart, under ~3 MB) and larger ones in two steps: POST /uploads with a filename returns a put_url; PUT the raw bytes there, then create the document with "document": { "filename", "upload_id" }. A PDF gets the certificate appended; any other file is signed as-is and gets a separate certificate PDF.

Questions? Every response includes a dashboard_url to see the document in SignOnChain.