Skip to main content
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 the Authorization header:
Get your API key from Organization Settings > API Keys in the sajn dashboard.

Rate Limits

Rate limits apply per organization and scale with your plan. There are two limits:
  • A per-minute limit that protects against bursts of traffic.
  • A daily limit on total request volume.
Higher plans get higher limits — if you consistently hit them, upgrading your plan raises both. Rather than hard-coding numbers, read your current limits from the response headers, which are included on every response:
When either limit is exceeded you receive a 429 Too Many Requests response with a Retry-After header (seconds to wait). Build clients to back off on 429 and honour Retry-After.

Response Format

All responses are returned in JSON format with appropriate HTTP status codes.

Success Response

Error Response

HTTP Status Codes

Pagination

List endpoints support pagination with query parameters:
Response includes pagination info:

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

Developer Updates

Hear about new endpoints, breaking changes, and deprecations before they ship. Turn it on in the sajn app under Inställningar → Utvecklare, or in the Utvecklare section of your notification settings. Updates go to your account’s email address, and you can unsubscribe from any newsletter email.

Support

Need help? Contact us at [email protected]

Quickstart

Get started in 5 minutes

Authentication

Learn about API authentication

Webhooks

Set up real-time notifications

Core Concepts

Understand sajn fundamentals