Award / Recognition preview
PDF certificate A4

Award / Recognition

Achievement or recognition award with recipient name, award title, reason, and presentation date.

Use Cases

  • Employee of the month awards
  • Sales team performance recognition
  • Volunteer appreciation certificates
  • Hackathon and competition awards

Tags

award recognition achievement employee appreciation trophy a4

Template Variables

Variable Type Default Description
recipient_name string Jane Smith Recipient name
award_title string Employee of the Year Award name
reason string In recognition of outstanding contribution and dedication. Award reason text
organisation string Acme Corp Presenting organisation
presentation_date string 7th May 2026 Presentation date
presented_by string CEO, Acme Corp Presented by (name and title)
logo_url url Organisation logo URL
accent_color color #b45309 Gold/accent colour

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/award.html", "variables": {"recipient_name": "Jane Smith", "award_title": "Employee of the Year", "reason": "In recognition of outstanding contribution and dedication.", "organisation": "Acme Corp", "presentation_date": "7th May 2026", "presented_by": "CEO, Acme Corp", "logo_url": "", "accent_color": "#b45309"}, "page_size": "A4"}'
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/award.html",
        "variables": {
            "recipient_name": "Jane Smith",
            "award_title": "Employee of the Year",
            "reason": "In recognition of outstanding contribution and dedication.",
            "organisation": "Acme Corp",
            "presentation_date": "7th May 2026",
            "presented_by": "CEO, Acme Corp",
            "logo_url": "",
            "accent_color": "#b45309"
        },
        "page_size": "A4"
    },
)
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/award.html",
    "variables": {
      "recipient_name": "Jane Smith",
      "award_title": "Employee of the Year",
      "reason": "In recognition of outstanding contribution and dedication.",
      "organisation": "Acme Corp",
      "presentation_date": "7th May 2026",
      "presented_by": "CEO, Acme Corp",
      "logo_url": "",
      "accent_color": "#b45309"
    },
    "page_size": "A4"
  }),
});
const data = await response.json();
// data.pdf is a base64-encoded PDF
$body = @{
    template_url = "https://toolkitapi.io/static/templates/pdf/award.html"
    variables    = {
      "recipient_name": "Jane Smith",
      "award_title": "Employee of the Year",
      "reason": "In recognition of outstanding contribution and dedication.",
      "organisation": "Acme Corp",
      "presentation_date": "7th May 2026",
      "presented_by": "CEO, Acme Corp",
      "logo_url": "",
      "accent_color": "#b45309"
    }
    page_size = "A4"
} | 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