use case
Certificates at scale
Generate 10,000 personalized diplomas without a coffee break.
Courses, conferences, compliance training — each attendee gets a PDF with their name, date, and credential ID. SnapPDF fills the template and ships.
Operations used
/fill-form
Insert attendee name + date
/metadata
Tag credential ID for verification
/protect
Prevent modification
/add-page-numbers
For multi-page certificate packs
Example workflow
- 01Query completed attendeesFrom your LMS / CRM.
- 02SnapPDF fill-formOne call per attendee.
- 03SnapPDF metadataStamp /CredentialId for verify.
- 04SnapPDF protectFlatten + lock.
- 05Email via ResendOr bulk-zip to deliver.
Code
for (const attendee of completedCohort) {
const filled = await snap.pdf.fillForm({
file: templatePdf,
values: {
student_name: attendee.name,
course_title: course.title,
completion_date: today(),
credential_id: attendee.credentialId,
},
flatten: true,
});
await snap.pdf.setMetadata({
file: filled.pdf,
metadata: { title: `${course.title} Certificate`, subject: attendee.credentialId },
});
}Best for
Online course platformsHR / complianceEvent organizers