Skip to main content
SealDeal seal
SealDeal
REST API v1
DEVELOPER REFERENCE

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

GET/api/v1/contracts

Retrieves a list of your contracts, including milestone progress, client details, signing URLs, and PDF download links.

// Example Request
curl -X GET "https://sealdeal.tech/api/v1/contracts?limit=10" \ -H "Authorization: Bearer YOUR_API_KEY"
GET/api/v1/contracts/:id

Returns full details of a specific contract including individual milestone statuses, signer audit records, and timestamped events.

POST/api/v1/contracts

Programmatically creates a new milestone contract and returns the client signing URL immediately.

// Example Request Body
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:

contract.signed

Dispatched when a client electronically signs an agreement.

payment.received

Dispatched when a milestone payment is verified and invoiced.

contract.completed

Dispatched when all milestones on a contract are fully settled.