Integrate FioDesk document processing capabilities into your applications with our RESTful API
The FioDesk API allows you to integrate document processing capabilities into your applications. All API requests are made to our base URL and require authentication via API tokens.
https://www.fiodesks.com/api/v1
All API requests require authentication using a Bearer token in the Authorization header. You can generate API tokens from your account dashboard.
To generate an API token, log in to your account and navigate to your profile settings. API tokens are valid for 6 months and can be revoked at any time. Keep your tokens secure and never share them publicly.
All API endpoints require authentication using a Bearer token. Include your API token in the Authorization header of every request.
| Header | Type | Required | Description |
|---|---|---|---|
| Authorization | String | Required | Bearer token: Bearer YOUR_API_TOKEN |
| Accept | String | Optional | Response format: application/json (default) |
| Content-Type | String | Required | Request format: multipart/form-data for file uploads |
POST /api/v1/merge-pdfs
Merge multiple PDF files into a single document. Supports up to 50 PDF files per request with a maximum total size of 100MB.
| Parameter | Type | Required | Description |
|---|---|---|---|
| files[] | File[] | Required | Array of PDF files to merge (2-50 files) |
POST /api/v1/split-pdfs
Split a PDF file into multiple documents. You can split by page ranges or specify the number of pages per file.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | File | Required | The PDF file to split |
| split_type | String | Required | Split method: pages or ranges |
| pages_per_file | Integer | Conditional | Number of pages per file (required if split_type is "pages") |
| page_ranges | String | Conditional | Page ranges (e.g., "1-5,6-10,11-15") (required if split_type is "ranges") |
POST /api/v1/compress-pdfs
Reduce PDF file size while maintaining quality. Supports multiple compression levels from light to maximum compression.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | File | Required | The PDF file to compress |
| compression_level | String | Optional | Compression level: low, medium, high (default: medium) |
POST /api/v1/encrypt-pdfs
Add password protection to PDF files using AES-256 encryption. The encrypted PDF will require the password to open or view.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | File | Required | The PDF file to encrypt |
| password | String | Required | Password for encryption (minimum 6 characters) |
| permissions | String[] | Optional | Access permissions: print, copy, modify |
The API uses standard HTTP status codes to indicate success or failure. All error responses include a JSON object with error details.
| Code | Description |
|---|---|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or malformed request |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - API access not available for your account |
| 404 | Not Found - Endpoint does not exist |
| 413 | Payload Too Large - File size exceeds limits |
| 422 | Unprocessable Entity - Validation errors |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error - Server processing error |
API rate limits are in place to ensure fair usage and system stability. Rate limits vary based on your subscription plan.
| Plan | Requests per Minute | Requests per Hour | Requests per Day |
|---|---|---|---|
| Free | 10 | 100 | 1,000 |
| Premium | 60 | 1,000 | 10,000 |
| Enterprise | Unlimited | Unlimited | Unlimited |
When you exceed the rate limit, you will receive a 429 Too Many Requests response. The response headers include information about your current rate limit status:
| Limit Type | Value | Description |
|---|---|---|
| Maximum file size | 50 MB | Per individual file |
| Maximum total size | 100 MB | Combined size of all files in a request |
| Maximum files per request | 50 | For merge operations |
| Supported formats | All endpoints currently support PDF files only |
Here are code examples for common programming languages and frameworks:
Need help? Check out our FAQ page or contact our support team for assistance with API integration.
We're here to help!