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 NameTypeDefault Value
{{event_name}}textTech Conference 2026
{{event_tagline}}textInnovation Meets Inspiration
{{event_date}}textMarch 15, 2026
{{event_time}}text9:00 AM - 6:00 PM
{{event_location}}textConvention Center, Paris
{{ticket_type}}textVIP Access
{{seat_info}}textSection A - Row 3
{{ticket_price}}text€199.00
{{attendee_name}}textJohn Doe
{{attendee_email}}textjohn.doe@email.com
{{ticket_qr_data}}texthttps://event.example.com/verify/TICKET-2024-001-VIP
{{ticket_id}}textTICKET-2024-001-VIP
{{support_email}}textsupport@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.