API Introduction
The sajn API allows you to programmatically create, send, and manage digital document signing workflows. Built with modern standards, our REST API provides full TypeScript support and comprehensive documentation.Base URL
All API requests should be made to:Authentication
All API requests require authentication using an API key. Include your API key in theAuthorization
header:
Rate Limits
- 100 requests per minute per API key
- 1000 requests per hour per API key
Response Format
All responses are returned in JSON format with appropriate HTTP status codes.Success Response
Error Response
HTTP Status Codes
Code | Description |
---|---|
200 | Success |
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Invalid or missing API key |
404 | Not Found - Resource doesn’t exist |
409 | Conflict - Resource already exists |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error |
Pagination
List endpoints support pagination with query parameters:Timestamps
All timestamps are returned in ISO 8601 format with UTC timezone:Webhooks
Receive real-time notifications about document events. See the Webhooks Guide for details.SDKs and Tools
- TypeScript: Full type safety with our OpenAPI specification
- OpenAPI Spec: Available at
/api/v1/openapi
- Postman: Import our OpenAPI spec into Postman