Integrate templates, signer routing, and webhook automation in your app with a simple REST flow. Built for developers who want quick setup and reliable delivery.
POST https://indigoesign.com/api/v1/sign-request
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"template_id": "tpl_123",
"title": "Offer Letter",
"signers": [
{
"role": "client",
"email": "[email protected]"
}
],
"redirect_url": "https://yourapp.com/success",
"webhook_url": "https://yourapp.com/webhook"
}
Clean endpoint design, predictable behavior, and template-first workflows.
No SDK required. Use standard HTTPS calls from any backend.
Create templates in panel, then reuse them by `template_id` in API calls.
Track `request.sent`, `viewed`, `signed`, and `completed` instantly.
Follow these steps to prepare your account for API integration.
Accessing the API requires a Secret Key. You must have an active account to generate keys.
The API works by referencing pre-configured templates. This allows you to design the document layout once and reuse it programmatically.
Once your template is created, you'll need its unique identifier for your code.
tpl_x8k2j9...).
"role": "client") exactly match the roles defined in your template's fields.{"detail": "Template not found or not owned by your company"}.
Create a key from your panel and use it in Bearer auth header.
Call `POST /api/v1/sign-request` with template ID + signer list.
Update your product logic when signing events are delivered.
Use this endpoint to create sign requests from saved templates.
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"template_id": "tpl_123",
"title": "Offer Letter",
"signers": [
{
"role": "client",
"email": "[email protected]"
}
],
"redirect_url": "https://yourapp.com/success",
"webhook_url": "https://yourapp.com/webhook"
}
| Field | Type | Required | Description |
|---|---|---|---|
| template_id | string | Yes | Template created via panel |
| title | string | Yes | Document name, shown to signers and in your dashboard |
| signers | array | Yes | List of signers |
| signers[].role | string | Yes | Must match a role in the template exactly (e.g. client, vendor) |
| signers[].email | string | Yes | Signer email. Each signer needs a different email, and it cannot be your own account email |
| redirect_url | string | No | Where signers go after they sign (http or https) |
| webhook_url | string | No | Public URL that receives the webhook events for this request |
{
"request_id": "req_8f2c1a9b3d4e",
"status": "sent",
"signers": [
{
"role": "client",
"email": "[email protected]",
"signing_url": "https://indigoesign.com/documents/sign/6f1d2c3e-..."
}
]
}
// 400: missing or invalid fields
{
"errors": ["template_id is required"]
}
// 401: missing or invalid API key
{
"detail": "Authentication required"
}
// 403: plan without API access, or a plan limit reached
{
"error": "API access not allowed in your plan"
}
// 404: template not found
{
"detail": "Template not found or not owned by your company"
}
// 429: more than 1 sign request per minute (Retry-After: 60)
{
"detail": "Too many sign-request creations. Limit is 1 per minute."
}
Copy and run your first signing request
curl -X POST https://indigoesign.com/api/v1/sign-request \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"template_id": "tpl_your_template_id",
"title": "Employment Contract",
"signers": [
{
"role": "client",
"email": "[email protected]"
}
],
"redirect_url": "https://yourapp.com/success",
"webhook_url": "https://yourapp.com/webhook"
}'
import requests
url = "https://indigoesign.com/api/v1/sign-request"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
}
payload = {
"template_id": "tpl_your_template_id",
"title": "Offer Letter",
"signers": [
{"role": "client", "email": "[email protected]"}
],
"redirect_url": "https://yourapp.com/success",
"webhook_url": "https://yourapp.com/webhook"
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
const response = await fetch("https://indigoesign.com/api/v1/sign-request", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
template_id: "tpl_your_template_id",
title: "Agreement",
signers: [
{ role: "client", email: "[email protected]" }
],
redirect_url: "https://yourapp.com/success",
webhook_url: "https://yourapp.com/webhook"
})
});
const data = await response.json();
console.log(data);
Event occurs -> send webhook -> log result.
| Event | Description |
|---|---|
| request.sent | Request created |
| request.viewed | Signer opened link |
| request.signed | One signer completed |
| request.completed | All signers done |
Client endpoint: POST https://your-app.com/webhooks/esign
POST to the webhook_url of the requestGET /api/v1/sign-request/{request_id} before acting on oneGenerate an API key, create a template, and send your first request in minutes.
Generate API Key