Events
Event Ticket PDF Template
Generate event tickets with unique QR codes via API. Perfect for conferences, concerts, and corporate events. Automatic attendee verification and access control.
13 customizable variables
How It Works
1. Get Your API Key
Sign up and generate an API key from your dashboard.
2. Send JSON Payload
Make a POST request with your template variables as JSON.
3. Receive PDF URL
Get a direct URL to your generated PDF document.
Template Variables
Customize your PDF by providing values for these variables in your API request.
| Variable Name | Type | Default Value |
|---|---|---|
| {{event_name}} | text | Tech Conference 2026 |
| {{event_tagline}} | text | Innovation Meets Inspiration |
| {{event_date}} | text | March 15, 2026 |
| {{event_time}} | text | 9:00 AM - 6:00 PM |
| {{event_location}} | text | Convention Center, Paris |
| {{ticket_type}} | text | VIP Access |
| {{seat_info}} | text | Section A - Row 3 |
| {{ticket_price}} | text | €199.00 |
| {{attendee_name}} | text | John Doe |
| {{attendee_email}} | text | john.doe@email.com |
| {{ticket_qr_data}} | text | https://event.example.com/verify/TICKET-2024-001-VIP |
| {{ticket_id}} | text | TICKET-2024-001-VIP |
| {{support_email}} | text | support@event.example.com |
Code Examples
Copy and paste these examples to start generating PDFs with this template.
curl -X POST 'https://api.pdf-sign.com/functions/v1/generate-pdf-preview' \
-H 'Content-Type: application/json' \
-H 'x-api-key: pdfsign_YOUR_API_KEY' \
-d '{
"templateId": "2bc484fc-7500-413f-a964-e82299cf6ec4",
"variables": {
"event_name": "Tech Conference 2026",
"event_tagline": "Innovation Meets Inspiration",
"event_date": "March 15, 2026",
"event_time": "9:00 AM - 6:00 PM",
"event_location": "Convention Center, Paris",
"ticket_type": "VIP Access",
"seat_info": "Section A - Row 3",
"ticket_price": "€199.00",
"attendee_name": "John Doe",
"attendee_email": "john.doe@email.com",
"ticket_qr_data": "https://event.example.com/verify/TICKET-2024-001-VIP",
"ticket_id": "TICKET-2024-001-VIP",
"support_email": "support@event.example.com"
}
}'Example JSON Payload
Here's a complete example of the variables object you'll send in your API request.
{
"templateId": "2bc484fc-7500-413f-a964-e82299cf6ec4",
"variables": {
"event_name": "Tech Conference 2026",
"event_tagline": "Innovation Meets Inspiration",
"event_date": "March 15, 2026",
"event_time": "9:00 AM - 6:00 PM",
"event_location": "Convention Center, Paris",
"ticket_type": "VIP Access",
"seat_info": "Section A - Row 3",
"ticket_price": "€199.00",
"attendee_name": "John Doe",
"attendee_email": "john.doe@email.com",
"ticket_qr_data": "https://event.example.com/verify/TICKET-2024-001-VIP",
"ticket_id": "TICKET-2024-001-VIP",
"support_email": "support@event.example.com"
}
}Other Templates
Ready to Generate Event Tickets?
Sign up and start generating professional PDF documents in minutes. Start at just €9/month.