API Reference

Programmatically create, send, and manage contracts for e-signatures.

Base URL:https://apisign.io/api

API Documentation


Quick Start

1. Get Your API Key

Generate an API key from your dashboard settings.

2. Make Your First Request

curl -X GET https://apisign.io/api/contract/find \
  -H "x-api-key: your_api_key_here" \
  -H "Content-Type: application/json"

3. Create a Contract

curl -X POST https://apisign.io/api/contract/create \
  -H "x-api-key: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Service Agreement",
    "content": "# Agreement\n\nThis agreement is between...\n\n**Signature:** {{signature}}",
    "signers": [
      {
        "email": "john@example.com",
        "name": "John Smith",
        "signing_order": 1
      }
    ]
  }'

Error Responses

All endpoints return errors in a consistent format:

{
  "error": "Error message describing what went wrong",
  "details": [
    {
      "field": "email",
      "message": "Invalid email format"
    }
  ]
}

HTTP Status Codes

StatusDescription
200Success
400Bad Request - Invalid parameters
401Unauthorized - Missing or invalid API key
403Forbidden - Insufficient permissions
404Not Found - Resource doesn't exist
500Internal Server Error