Integrate digital signatures into your application with our REST API. Get started in minutes.
Three steps to send your first document for signature.
Sign in and open the API Keys page from your dashboard to create a new key.
POST your PDF to /documents with your API key in the header.
Call /documents/:id/send with signer emails. They get a signing link.
Include your API key in the X-API-Key header with every request. Base URL: https://shocksign.com/api. API access is included on every plan; webhooks and embedded signing (/embed/sign/<token>) are available from the Professional plan.
curl -X GET "https://shocksign.com/api/documents" \
-H "X-API-Key: sk_your_api_key"curl -X POST "https://shocksign.com/api/documents" \
-H "X-API-Key: sk_your_api_key" \
-F "file=@contract.pdf" \
-F "title=Service Agreement"
# Response (201):
# {
# "message": "Document created successfully",
# "document": {
# "id": "6f1c2a9e-3b4d-4e5f-8a90-1b2c3d4e5f60",
# "title": "Service Agreement",
# "status": "draft",
# "fileHash": "sha256...",
# "createdAt": "2026-01-15T10:30:00Z"
# }
# }
# Then send it:
curl -X POST "https://shocksign.com/api/documents/6f1c2a9e-3b4d-4e5f-8a90-1b2c3d4e5f60/send" \
-H "X-API-Key: sk_your_api_key" \
-H "Content-Type: application/json" \
-d '{ "signers": [{ "email": "jane@example.com", "name": "Jane Smith", "order": 1 }], "message": "Please sign." }'