Documentation Index
Fetch the complete documentation index at: https://docs.peedief.com/llms.txt
Use this file to discover all available pages before exploring further.
API Integration
Authentication
All API requests require authentication using an API key. Create your API key in the dashboard under API Keys section.Quick Setup
Dashboard → API Keys → Generate New API Key → Copy for use in headers
Basic API Usage
Template PDF Generation
Endpoint:POST https://peedief.com/api/templates/by-name/{templateName}/pdf
Headers:
Template Context Data
Provide dynamic data to populate your template:Template Features
- Dynamic content: Populate templates with any JSON data
- Nested objects: Support for complex data structures
- Arrays: Handle lists and tables in your templates
- Custom filename: Optional filename generation
- Template variables: Use placeholders in your pre-designed templates
No-Code Tools Integration
Zapier Integration
Configure Payload
- Payload Type: Json
- Data:
- contextJson:
{"customerName": "John Doe", "amount": 100} - fileName:
invoice.pdf
- contextJson:
Make.com Integration
Configure Body
- Body type: Raw
- Content type: application/json
- Request content:
{ "contextJson": {"customerName": "John Doe", "amount": 100}, "fileName": "invoice.pdf" }
Embed Previews
Use the
previewUrl from the response as the src of an iframe for instant, read-only previews. The signed link shares the same expiration window as downloadUrl.Next Steps
API Reference
Complete API endpoint documentation
Best Practices
Optimize your API usage and security