Templates › Certificate
Certificate template
A landscape certificate of completion, achievement or attendance: recipient name, what it is for, issuer, date, signature line and an optional certificate ID for verification.
Preview the sample PDF Get a free API key
Fields
| Field | Type | Required | Description |
|---|---|---|---|
title | string | no | Default 'Certificate of Completion' |
recipient | string | yes | The person's name |
statement | string | no | Text before the achievement, default 'has successfully completed' |
achievement | string | yes | Course, event or achievement name |
description | string | no | One sentence of detail (hours, level, dates) |
date | string (YYYY-MM-DD) | yes | Date awarded |
issuer | string | yes | Organisation issuing the certificate |
signer | string | no | Name on the signature line |
signer_title | string | no | Role of the signer |
certificate_id | string | no | Unique ID printed small for verification |
logo | string (data:image/... URI) | no | Issuer logo as a data URI |
accent | string (CSS color) | no | Border and heading colour, default #0b5c6b |
Sample request
POST https://docpress.dev/v1/pdf
Authorization: Bearer dp_your_key
Content-Type: application/json
{
"template": "certificate",
"data": {
"title": "Certificate of Completion",
"recipient": "Maya Okonkwo",
"statement": "has successfully completed",
"achievement": "Technical Writing for Engineers",
"description": "A 12-hour course covering structure, clarity and documentation tooling.",
"date": "2026-10-18",
"issuer": "Northwind Learning",
"signer": "Daniel Reyes",
"signer_title": "Programme Director",
"certificate_id": "NWL-2026-00417"
}
}
Add "page_size": "Letter" next to template to change the paper size (this template is landscape). Output on the free plan carries a small footer mark. See the API docs for authentication and errors.