business template

Certificate of Completion API

Send recipient and course details as JSON, get back a 2480x1754 A4-landscape certificate PNG.

Certificate of Completion template preview, a business image generated by the HTML to Image API

Learning platforms and compliance training tools use the certificate generator API to issue branded completion records the moment a learner finishes a module. The 2480x1754 output prints cleanly on physical A4 landscape paper at 200 DPI, and the same file embeds in email confirmation templates without scaling artifacts. You post the recipient name, course title, completion date, and issuer details as JSON, and the response holds a PNG ready to attach or display in the learner dashboard.

Use cases

LMS platforms issuing course completion records

Online learning platforms with thousands of enrolled students need to issue certificates the moment a course is marked complete. Trigger the render from your completion event, store the URL on the enrollment record, and email the certificate to the learner. The dashboard also shows the certificate inline on the student's profile. Halberd Software Academy ships 1,800 certificates per month through this exact pipeline, with each render finishing in around 2 seconds.

Online schools recognizing program graduates

Bootcamps and certification programs award final certificates at graduation rather than per-module. Render with the cohort name, the program title, and the academy seal, then send via email and post on a public alumni page. Linden & Co's 12-week program graduates 30 students per cohort, and every certificate goes out within an hour of the final assessment grading.

Compliance training tools generating annual records

Companies running annual compliance training (data protection, harassment prevention, fire safety) need to issue records that audit teams can verify later. Render with the employee name, training title, and a unique certificate_id for HRIS lookup, store the URL on the training record, and the HR team has an audit trail without paper. Wren Analytics uses this for 4,200 employees across 12 markets.

Conference attendance proof

Events that issue attendance certificates for continuing-education credit benefit from a generator that produces one PNG per attendee at scale. Loop the registration roster, render per attendee, email the certificates the morning after the event, and the post-event admin clears in an afternoon rather than over a week. The Type Conference issued 2,400 certificates this way last year.

Professional development credit issuance

Industry bodies that award CPD or CME credit need certificates that recipients can submit to their accrediting body. Render with the credit hours, the topic, and the official body's seal, and the recipient has a single PDF-quality PNG to forward upstream. Northwind Studio's training arm issues 600 CPD certificates per year through this pipeline.

Output specifications

Dimensions
2480x1754
Color space
sRGB
Transparency
Not supported
File size range
250 KB to 600 KB

Matches the spec at ISO 216 A4 landscape at 200 DPI (print-ready).

How it works

1

Send a JSON payload

POST to the template endpoint with the values you want rendered. Authenticate with your API key.

2

We render the image

The template is rendered server-side as a 2480x1754 PNG.

3

You get back a URL

Cache it, embed it in your page, attach it to an email.

Quick example

A single cURL call to render a Certificate of Completion as a PNG:

curl -X POST https://app.html2img.com/api/v1/templates/certificate-of-completion \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"recipient_name":"Margaret Lin","course_name":"Foundations of Production Engineering","completion_date":"April 30, 2026","issuer_name":"Halberd Software Academy","issuer_title":"Director of Education","issuer_signature_url":"https://i.html2img.com/static/sample-signature.png","certificate_id":"HSA-2026-009421","accent_color":"#1F2937"}'

For the full PHP, Node and Python equivalents, plus every input the template accepts, see the Certificate of Completion API reference. Setting up your key is covered in the authentication guide.

Common pitfalls

Long names overflow on a single line

A 70-character recipient name with multiple last names runs out of room on the centered name line. The layout reflows automatically for names over 50 characters, but consider abbreviating middle names on your side if the visual hierarchy matters.

Signature image without transparent background looks rectangular

A JPEG signature on a white background renders as an obvious rectangle on the certificate, which looks amateurish next to the rest of the design. Convert the signature to a transparent PNG before passing it to issuer_signature_url so it sits cleanly on the page.

Certificate ID printed too small to scan

A 6-character ID at small type is hard to scan or transcribe for verification calls. Use IDs of at least 12 characters and a clear pattern (HSA-2026-009421), and the renderer prints them at a size that survives both screen view and printer output.

Inputs at a glance

A quick summary of what the Certificate of Completion template accepts. The full reference, with example values and array shapes, is in the docs.

Name Type Required
recipient_name string Required
course_name string Required
completion_date string Required
issuer_name string Required
issuer_title string Optional
issuer_signature_url url Optional
certificate_id string Optional
issuer_logo_url url Optional
seal_url url Optional
accent_color string Optional

See the full inputs reference for descriptions, examples and validation rules.

Related templates

Related guides

FAQ

Try it free

25 renders a month on the free tier. See the pricing page for higher-volume plans.