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: Use our ready-made starter collections or import the OpenAPI spec directly
Support
Need help? Contact us at hej@sajn.seQuick Links
Quickstart
Get started in 5 minutes
Authentication
Learn about API authentication
Webhooks
Set up real-time notifications
Core Concepts
Understand sajn fundamentals

