SealDeal REST API & Webhooks
Integrate milestone contracts, client agreement links, and payment event webhooks directly into your CRM, agency portal, or custom SaaS application.
Authentication
All requests to the SealDeal REST API require a Bearer token or x-api-key header. API access is available to accounts on the Pro or Team plan.
Authorization: Bearer sd_live_9f8a2b3c4d5e...Endpoints
/api/v1/contractsRetrieves a list of your contracts, including milestone progress, client details, signing URLs, and PDF download links.
curl -X GET "https://sealdeal.tech/api/v1/contracts?limit=10" \ -H "Authorization: Bearer YOUR_API_KEY"
/api/v1/contracts/:idReturns full details of a specific contract including individual milestone statuses, signer audit records, and timestamped events.
/api/v1/contractsProgrammatically creates a new milestone contract and returns the client signing URL immediately.
curl -X POST "https://sealdeal.tech/api/v1/contracts" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Full-Stack Web Application",
"scopeDescription": "1. Architecture\n2. Implementation\n3. Deployment",
"currency": "USD",
"clientEmail": "[email protected]",
"clientName": "Acme Corp",
"milestones": [
{ "title": "Wireframes & Schema", "amount": 1500, "percentage": 30 },
{ "title": "Beta Build Demo", "amount": 2500, "percentage": 50 },
{ "title": "Production Deployment", "amount": 1000, "percentage": 20 }
]
}'Real-time Webhook Events
Register your webhook URL in Account Settings to receive real-time HTTP POST notifications when events occur in your account:
Dispatched when a client electronically signs an agreement.
Dispatched when a milestone payment is verified and invoiced.
Dispatched when all milestones on a contract are fully settled.
