Overview
Documenso uses API versioning to manage changes and ensure backward compatibility for existing integrations. The version is specified in the URL path.The current recommended API version is v2. API v1 is deprecated but will continue to be supported.
API Versions
API v2 (Current)
Base URL:https://app.documenso.com/api/v2
- Status: Active and recommended for all new integrations
- Features:
- Multipart file uploads
- Improved error handling
- Enhanced field positioning
- Better pagination support
- Consistent response formats
- Multiple file support per document
API v1 (Deprecated)
Base URL:https://app.documenso.com/api/v1
- Status: Deprecated but supported
- Features:
- Presigned URL for file uploads
- Basic document operations
- Template support
- Field and recipient management
While API v1 will continue to work, we strongly recommend migrating to v2 for new integrations. API v1 will receive only critical security updates and bug fixes.
Deprecation Policy
When we deprecate an API version or specific endpoint:- Announcement: We announce the deprecation in release notes and via email to registered developers
- Deprecation Period: The deprecated version continues to work for at least 12 months
- Migration Guide: We provide detailed migration guides and examples
- Support: We offer support during the transition period
- Sunset: After the deprecation period, the endpoint may be removed
API v1 Deprecation Timeline
- Announced: March 2024
- Deprecation Start: June 2024
- Minimum Support Until: June 2025
- Status: All v1 endpoints continue to function as documented
Versioning Strategy
URL-Based Versioning
We use URL-based versioning for clarity and simplicity:- Switch between versions during migration
- Run v1 and v2 in parallel
- Test new features without affecting production
Breaking vs Non-Breaking Changes
Non-breaking changes may be made within a version:- Adding new optional parameters
- Adding new endpoints
- Adding new fields to responses
- Improving error messages
- Removing or renaming endpoints
- Removing or renaming request/response fields
- Changing field types or validation rules
- Changing authentication mechanisms
Migration from v1 to v2
Key Differences
| Feature | v1 | v2 |
|---|---|---|
| Base Path | /api/v1 | /api/v2 |
| Documents Endpoint | /documents | /envelope |
| File Upload | Presigned URL (2-step) | Multipart (1-step) |
| Field Identifier | Page number only | Page number + file identifier |
| Multiple Files | Not supported | Supported |
| Pagination | Basic | Enhanced with metadata |
| Error Format | Basic | Consistent structure |
Migration Steps
-
Update Base URL
-
Update Document Creation
-
Update Field References
-
Update Endpoint Paths
Migration Guide
For a detailed migration guide with code examples, see:Version Support
Current Support Status
| Version | Status | New Features | Bug Fixes | Security Updates |
|---|---|---|---|---|
| v2 | Active | ✅ Yes | ✅ Yes | ✅ Yes |
| v1 | Deprecated | ❌ No | ⚠️ Critical only | ✅ Yes |
Checking API Version
You can determine which version you’re using by inspecting the URL:Staying Updated
To stay informed about API changes:- Release Notes: Check https://documenso.com/changelog
- GitHub: Watch the Documenso repository
- Developer Newsletter: Subscribe at https://documenso.com/developers
- API Status: Monitor https://status.documenso.com
See Also
- API v1 Overview - Getting started with v1
- API v2 Documentation - Recommended for new integrations
- Authentication - API authentication guide
