DocMake
The PDF DocMake makes from the Job Offer Letter template

The first page of the document DocMake makes from the sample values on this page.

HR

Job Offer Letter

First impressions matter: a clean offer letter with the details block your candidate actually looks for - role, salary, start date, manager.

HR fills in the details; the wording stays consistent for every hire.

Blanks to fill

letter_date Date
candidate_name Who the offer is for
role_title Role
company_name Company
start_date Start date
manager_name Manager
location Where the work is done
salary Yearly salary
conditions What the offer depends on
offer_expiry Offer good until
signer_name Who signs
signer_title Their role

The data behind the preview

This is the exact JSON that produced the document above. Change the values, POST them to the API, and you get your version back as DOCX or PDF. Lists grow and shrink with your data; the layout adapts.

  1. 01 Sign up free and duplicate this template into your workspace.
  2. 02 Adjust the wording and branding in the visual editor.
  3. 03 Fill it in the app, share it as a form link, or call the API.
sample-data.json
{
  "company_name": "Fernhill Robotics",
  "letter_date": "May 6, 2026",
  "candidate_name": "Alina Petrescu",
  "role_title": "Senior Controls Engineer",
  "start_date": "June 1, 2026",
  "manager_name": "Ruth Okoye, Head of Engineering",
  "location": "Sheffield, with up to two days a week from home",
  "salary": "$96,500",
  "conditions": "Two references we are happy with, and proof that you can work in the United Kingdom. We ask for both once you accept.",
  "offer_expiry": "May 20, 2026",
  "signer_name": "Marta Voss",
  "signer_title": "Head of People"
}

Generate this document via the API

One template plus changing data is the whole point. The list of blanks above is the contract, and every new set of values comes back in the same layout: fill it in the app, hand someone a form link, or POST the JSON and get the file straight back.

The request below carries this page's own values, so it runs as soon as the template exists in your workspace. Swap the values for yours and the response is your document.

make-offer-letter.sh
curl -X POST https://app.docmake.io/api/v1/render \
  -H "Authorization: Bearer $DOCMAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  --output offer-letter.pdf \
  --data-binary @- <<'JSON'
{
  "template_id": "tmpl_your_template_id",
  "format": "pdf",
  "data": {
    "company_name": "Fernhill Robotics",
    "letter_date": "May 6, 2026",
    "candidate_name": "Alina Petrescu",
    "role_title": "Senior Controls Engineer",
    "start_date": "June 1, 2026",
    "manager_name": "Ruth Okoye, Head of Engineering",
    "location": "Sheffield, with up to two days a week from home",
    "salary": "$96,500",
    "conditions": "Two references we are happy with, and proof that you can work in the United Kingdom. We ask for both once you accept.",
    "offer_expiry": "May 20, 2026",
    "signer_name": "Marta Voss",
    "signer_title": "Head of People"
  }
}
JSON

tmpl_your_template_id is a stand-in: build this template in the visual editor and copy the id it shows, or create one with POST /api/v1/templates. Keys, formats, strict mode and batches are in the API reference.

Or let an AI assistant do it

The DocMake MCP server lets Claude and other assistants make this document the same way. Install it once:

claude mcp add docmake \
  --env DOCMAKE_API_KEY=dm_your_api_key \
  -- npx -y @docmake/mcp@latest

Then ask for the document in plain words:

Make a PDF from my Job Offer Letter template with date "May 6, 2026" and who the offer is for "Alina Petrescu".

How the MCP server works →

More hr templates