Get Started

Start generating PDFs with Posiboo in minutes.

Get Started with Posiboo

Posiboo is a PDF generation API that lets you create beautiful PDFs from templates or any web page. Perfect for invoices, reports, certificates, and more.


Quick Start

1. Sign Up and Get Your API Key

  1. Create an account (10 free credits included)
  2. Navigate to API Keys
  3. Create a new API key
  4. Copy and save your key securely

2. Choose Your Rendering Method

Posiboo offers two ways to generate PDFs:

Render from Templates (Recommended)

Create custom templates with your branding and merge them with dynamic data.

javascript
fetch("https://api.posiboo.com/v1/render/template", {
method: "POST",
headers: {
"x-api-key": "your_api_key",
"Content-Type": "application/json"
},
body: JSON.stringify({
templateId: "your_template_id",
data: {
title: "Invoice #12345",
customer: "Acme Corp",
amount: "$1,250.00"
}
})
});

Learn more about rendering templates →

Render from Any Website

Convert any publicly accessible URL into a PDF.

javascript
fetch("https://api.posiboo.com/v1/render/source", {
method: "POST",
headers: {
"x-api-key": "your_api_key",
"Content-Type": "application/json"
},
body: JSON.stringify({
source: "https://example.com/report"
})
});

Learn more about rendering sources →


3. Set Up Webhooks

Configure webhooks to get notified when your PDFs are ready:

  1. Go to Webhooks
  2. Create a new webhook endpoint
  3. Test your endpoint

When a PDF is successfully rendered, you'll receive:

json
{
"eventType": "pdf.rendered",
"timestamp":"2024-10-01T12:34:56Z",
"data": {
"downloadUrl": "https://<download-link-to-pdf>",
}
}

Create Your First Template

  1. Navigate to Templates Store
  2. Click "Create Template"
  3. Design your template using HTML/CSS
  4. Use {{variableName}} for dynamic data
  5. Save and copy your template ID

Example template:

html
<!DOCTYPE html>
<html>
<head>
<style>
body { font-family: Arial, sans-serif; }
.header { color: #333; font-size: 24px; }
</style>
</head>
<body>
<div class="header">{{title}}</div>
<p>Customer: {{customer}}</p>
<p>Amount: {{amount}}</p>
</body>
</html>

API Response

All render endpoints return 202 Accepted immediately, indicating the job is queued:

bash
HTTP/1.1 202 Accepted

PDFs are rendered asynchronously. Use webhooks to get notified when they're ready.


Common Use Cases

  • Invoices & Receipts - Generate branded invoices with customer data
  • Reports - Create PDF reports from dashboards or analytics
  • Certificates - Generate certificates of completion or awards
  • Documentation - Export documentation or user guides
  • Statements - Create bank statements, order summaries, etc.

Rate Limits

  • Development: 2 requests per minute per API key
  • Production: Contact us for higher limits

Credits System

Each PDF render consumes 1 credit. Monitor your usage:

  1. View Usage Metrics
  2. Buy more credits via Billing
  3. Track renders in Render Logs

Next Steps

📄 Render Templates

Generate PDFs from custom templates with dynamic data.

Read the guide →

🌐 Render Sources

Convert any web page or URL into a PDF.

Read the guide →

🔔 Configure Webhooks

Get notified when PDFs are ready.

Set up webhooks →

🔑 API Keys

Manage your API keys and authentication.

Manage keys →

Need Help?