Base URL
All API requests use the following base URL:Authentication
Authenticate requests using your API key in one of two ways: X-API-Key Header (Recommended):Available Endpoints
Request Format
All requests must:- Use
POSTmethod - Include
Content-Type: application/jsonheader - Send a JSON body
Response Format
All responses are JSON with this structure: Success Response:Rate Limits
Requests are rate-limited based on your plan:Rate Limit Headers
Every response includes rate limit information:Rate Limit Exceeded
When you exceed the rate limit, you’ll receive a429 Too Many Requests response:
Timeouts
PDF generation timeouts vary by plan:
Complex documents with large images or external resources may require higher-tier plans.
Content Limits
CORS
The API supports CORS for browser-based requests. However, we strongly recommend making API calls from your server to protect your API key.Next Steps
Generate PDF
Complete endpoint documentation
Response Examples
Sample responses for all scenarios
Code Examples
Examples in 12 languages
Error Handling
Handle errors gracefully

