API Reference
Integrate Glyve into your application with our REST API.
Generate PDFs programmatically with type-safe validation.
Generate PDFs programmatically with type-safe validation.
Authentication
All API requests require authentication using an API key.
Include your API key in the
Include your API key in the
Authorization header using the Bearer token format.Loading...
Getting an API Key
Generate an API key from your API Keys page.
Keep your API keys secure and never share them publicly.
Keep your API keys secure and never share them publicly.
Endpoints
Error Handling
The API uses standard HTTP status codes to indicate success or failure.
All error responses include a JSON body with details about the error.
All error responses include a JSON body with details about the error.
Common Status Codes
200 | OK | Request successful |
400 | Bad Request | Invalid request body or validation error |
401 | Unauthorized | Missing or invalid API key |
404 | Not Found | Document not found or not accessible |
422 | Unprocessable Entity | Document has no content |
500 | Internal Server Error | Server error during PDF generation |
Error Response Format
Loading...