API Documentation
Automate your document generation workflow with the TextFroge API.
Business Tier Required
The TextFroge API is currently exclusive to our Business plan users. Please upgrade your account to generate your API keys.
Endpoint: Generate PDF
Send content to generate a high-quality PDF buffer.
POST https://textforge-production.up.railway.app/pdf
// Headers
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
// Body
{
"content": "# Hello World\nThis is my API generated PDF.",
"title": "API document",
"template": "professional",
"fontFamily": "helvetica"
}Response
The API returns a binary stream with the MIME type application/pdf.
Rate Limits
- Creator/Pro:No direct API access. Please use the dashboard to generate documents.
- Business:5,000 requests per month. Custom limits available upon request.