⚡ Developer REST API v1.0

API Documentation

Programmatically provision sub-tenants, inject e-signature document templates, and dispatch automated payment requests.

API Endpoints
🔑 Authentication Header

Include your sandbox or live API key in all request headers:

Authorization: Bearer sb_live_9f83...
Provision Sub-Tenant Agency Account201 CREATED

Creates a white-labeled sub-tenant profile with automated SSL CNAME bindings.

Request Body (JSON)
{
  "partner_id": "ag_88201",
  "company_name": "Apex Trade Solutions",
  "subdomain": "apextrades",
  "custom_domain": "portal.apextrades.com",
  "theme": {
    "primary_color": "#06b6d4",
    "dark_mode": true
  }
}