Conference Name Badge preview
PDF events A6

Conference Name Badge

Printable conference or event name badge with attendee name, role, company, and event name.

Use Cases

  • Conference attendee badges
  • Hackathon participant IDs
  • Corporate event lanyards
  • Workshop facilitator badges

Tags

name-badge conference event attendee speaker lanyard a6 printable

Template Variables

Variable Type Default Description
attendee_name string Jane Smith Attendee full name
role string Software Engineer Job title or role
company string Acme Corp Company or organisation
event_name string Tech Conference 2026 Event name
badge_type string ATTENDEE Badge type label (e.g. ATTENDEE, SPEAKER, STAFF)
accent_color color #4f46e5 Badge accent colour
logo_url url Event logo URL

API Example

POST to https://pdf.toolkitapi.io/v1/pdf/from-template with your template URL and variable values.

curl -X POST "https://pdf.toolkitapi.io/v1/pdf/from-template" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template_url": "https://toolkitapi.io/static/templates/pdf/name-badge.html", "variables": {"attendee_name": "Jane Smith", "role": "Software Engineer", "company": "Acme Corp", "event_name": "Tech Conference 2026", "badge_type": "ATTENDEE", "accent_color": "#4f46e5", "logo_url": ""}, "page_size": "A6"}'
import httpx, base64

resp = httpx.post(
    "https://pdf.toolkitapi.io/v1/pdf/from-template",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={
        "template_url": "https://toolkitapi.io/static/templates/pdf/name-badge.html",
        "variables": {
            "attendee_name": "Jane Smith",
            "role": "Software Engineer",
            "company": "Acme Corp",
            "event_name": "Tech Conference 2026",
            "badge_type": "ATTENDEE",
            "accent_color": "#4f46e5",
            "logo_url": ""
        },
        "page_size": "A6"
    },
)
pdf_bytes = base64.b64decode(resp.json()["pdf"])
with open("result.pdf", "wb") as f:
    f.write(pdf_bytes)
const response = await fetch("https://pdf.toolkitapi.io/v1/pdf/from-template", {
  method: "POST",
  headers: {
    "X-API-Key": "YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "template_url": "https://toolkitapi.io/static/templates/pdf/name-badge.html",
    "variables": {
      "attendee_name": "Jane Smith",
      "role": "Software Engineer",
      "company": "Acme Corp",
      "event_name": "Tech Conference 2026",
      "badge_type": "ATTENDEE",
      "accent_color": "#4f46e5",
      "logo_url": ""
    },
    "page_size": "A6"
  }),
});
const data = await response.json();
// data.pdf is a base64-encoded PDF
$body = @{
    template_url = "https://toolkitapi.io/static/templates/pdf/name-badge.html"
    variables    = {
      "attendee_name": "Jane Smith",
      "role": "Software Engineer",
      "company": "Acme Corp",
      "event_name": "Tech Conference 2026",
      "badge_type": "ATTENDEE",
      "accent_color": "#4f46e5",
      "logo_url": ""
    }
    page_size = "A6"
} | ConvertTo-Json -Depth 5

Invoke-RestMethod -Method POST `
  -Uri "https://pdf.toolkitapi.io/v1/pdf/from-template" `
  -Headers @{"X-API-Key" = "YOUR_API_KEY"} `
  -ContentType "application/json" `
  -Body $body
Back to Template Library