Getting Started
Learn how to integrate Shablonix API into your application and start generating PDF documents in minutes.
Introduction
Shablonix API is a powerful document generation service that allows you to create professional PDF documents from customizable templates. With our API, you can:
Generate PDFs at Scale
Create thousands of documents per minute with our high-performance API.
Design Custom Templates
Use our visual editor to create beautiful, branded templates.
Simple Integration
RESTful API with SDKs for popular programming languages.
Enterprise Security
SOC 2 compliant with end-to-end encryption for all documents.
Quick Start
Get up and running with Shablonix API in just a few steps:
- 1
Create an account
Sign up at shablonix.online/sign-up to get your API credentials.
- 2
Generate an API key
Navigate to Settings → API Keys and create a new key.
- 3
Make your first API call
Use the code examples below to generate your first document.
Installation
Install our official SDK for your preferred language:
npm install @shablonix/sdk
No SDK Required
First API Call
Here is a simple example to generate a PDF document using one of our starter templates:
curl -X POST https://api.shablonix.com/v1/generate \
-H "Authorization: Bearer tf_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"template_id": "invoice_basic",
"data": {
"invoice_number": "INV-001",
"customer_name": "Acme Corp",
"items": [
{"description": "Consulting Services", "amount": 1500}
],
"total": 1500
}
}'
Response
{
"id": "doc_abc123",
"status": "completed",
"pdf_url": "https://cdn.shablonix.com/docs/doc_abc123.pdf",
"created_at": "2024-01-15T10:30:00Z"
}
Next Steps
Now that you have made your first API call, explore these resources to learn more: