Available Examples
cURL
Command line
JavaScript
Node.js
TypeScript
Type-safe
Python
requests
Flutter
Dart
PHP
cURL/Guzzle
.NET
C#
Go
net/http
Java
HttpClient
Ruby
Net::HTTP
Rust
reqwest
API Basics
| Setting | Value |
|---|---|
| Base URL | https://api.fileloom.io/v1 |
| Endpoint | POST /pdf/generate |
| Content-Type | application/json |
| Authentication | X-API-Key: fl_your_api_key |
Request Structure
Response Structure
Error Handling
| Error Code | Description |
|---|---|
| 400 | Invalid request |
| 401 | Invalid API key |
| 404 | Template not found |
| 408 | Request timeout |
| 413 | File too large |
| 429 | Rate limit or no credits |
| 500 | Server error |

