Skip to content
rendoc
Use Case

Certificate PDF Generation

Automate certificate creation for courses, awards, and credentials. Generate beautiful landscape or portrait PDFs with recipient details, unique IDs, and your brand — all via API.

Generate a certificate in seconds

Pass recipient details and course info. Get a professionally formatted certificate PDF back.

JavaScript SDK
import Rendoc from "rendoc";

const rendoc = new Rendoc("your_api_key");

const pdf = await rendoc.documents.generate({
  template_id: "tpl_certificate_001",
  data: {
    recipient_name: "Alex Johnson",
    course_name: "Advanced TypeScript",
    completion_date: "March 25, 2026",
    instructor: "Dr. Sarah Chen",
    certificate_id: "CERT-TS-2026-1847",
    hours: 40,
    grade: "With Distinction",
  },
  options: {
    paper_size: "A4",
    orientation: "landscape",
  },
});
cURL
curl -X POST https://rendoc.dev/api/v1/documents/generate \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "template_id": "tpl_certificate_001",
    "data": {
      "recipient_name": "Alex Johnson",
      "course_name": "Advanced TypeScript",
      "completion_date": "March 25, 2026",
      "certificate_id": "CERT-TS-2026-1847",
      "hours": 40,
      "grade": "With Distinction"
    },
    "options": { "paper_size": "A4", "orientation": "landscape" }
  }'

Why developers choose rendoc for certificates

Landscape & portrait

Certificates often look best in landscape. Set orientation per request — no separate template needed.

Unique certificate IDs

Embed verifiable IDs in each certificate. Recipients can validate authenticity via your verification page.

Batch generation

Course completed by 500 students? Generate all certificates in one API call with an array of recipients.

Custom paper sizes

Standard A4, Letter, or custom dimensions. Match the exact format your printing service expects.

Rich templates

Borders, seals, signatures, watermarks — your HTML/CSS template controls every pixel of the design.

Instant delivery

Generate and email certificates immediately after course completion. Webhook triggers make it automatic.

Automate your certificates today

100 documents per month free. Perfect for online courses, training programs, and award ceremonies.