API Overview
The DocuTrust API is a RESTful JSON API for creating templates, managing submissions, and integrating document signing into your applications.Base URL
All API requests are made to your DocuTrust instance URL:your-app.com with your actual DocuTrust deployment domain.
Authentication
Authenticate every request by including your API token in theX-Auth-Token header:
Content Types
All request bodies must be valid JSON unless the endpoint accepts file uploads, in which case
multipart/form-data is used.
Rate Limits
API requests are rate-limited to 120 requests per minute per API token.
When the limit is exceeded, the API returns
429 Too Many Requests:
Retry-After header indicates the number of seconds to wait before retrying.
Pagination
List endpoints use cursor-based pagination for consistent results even when data is being created or deleted between pages.Request Parameters
Response Format
Pass the
next cursor as the after parameter to fetch the next page:
Error Handling
All errors return a JSON object with anerror field containing a human-readable message:
HTTP Status Codes
Validation Errors
For422 responses, the error message describes which field failed validation:
Versioning
The DocuTrust API is currently at version 1. There is no version prefix in the URL — all endpoints are accessible directly under/api/.
Breaking Changes Policy
- Breaking changes will be announced at least 90 days in advance via email and the changelog.
- Non-breaking additions (new fields in responses, new optional parameters, new endpoints) are made without a version bump.
- When a new API version is introduced, the previous version will remain available for a deprecation period of at least 12 months.
Request IDs
Every API response includes anX-Request-Id header containing a unique identifier for the request. Include this ID when contacting support about a specific request: