Developers

Put agreement execution in your own product.

A small REST API to create and track agreements from your software or a tool like Zapier. Authenticate with a workspace API key and send a prepared document to the right people.

Authentication

Create a key under Settings → API keys (owners and admins). The full key is shown once and stored only as a hash; revoking it takes effect immediately. Send it as a bearer token:

curl https://clickitcontracts.com/api/v1/envelopes \
  -H "Authorization: Bearer esk_live_xxxxxxxxxxxx"

Endpoints

GET/api/v1/envelopesList your workspace's envelopes (most recent first).
POST/api/v1/envelopesCreate an envelope from a prepared document and send it.
GET/api/v1/envelopes/{id}Fetch an envelope's status and its signers.

Create & send

POST /api/v1/envelopes
Authorization: Bearer esk_live_…
Content-Type: application/json

{
  "document_id": "…",
  "title": "Service agreement",
  "signing_order": "sequential",
  "signers": [
    { "role": "Client",
      "name": "Priya N.",
      "email": "priya@example.com" }
  ]
}

Response

201 Created

{
  "envelope_id": "…",
  "status": "sent",
  "signers": [
    { "id": "…",
      "role": "Client",
      "sign_url": "https://…/sign/…",
      "emailed": true }
  ]
}

The document must have confirmed fields, and each signer's role must exist on it. Creation is rate-limited per workspace.

Not yet available

Outbound webhooks (event callbacks to your server) aren't available yet — poll the envelope status endpoint for now. We'll document webhooks here when they ship.

Start with a single document.

Generate a key under Settings → API keys once you've signed in.

Upload a document