MintRender

Templates / Name badge

Staff ID card template

An employee ID card in bank card shape: photo, name, job title, department, ID number, end date and a barcode. 1012 × 638 px.

Loading the template…

Fields

NameTypeShows now
companyTextExample Health
card_typeTextSTAFF
photoImage (asset or URL)
nameTextAmira Haddad
titleTextSenior Nurse
departmentTextCardiology, Ward 4
id_numberTextEMP-004217
validText03/2029
barcodeBarcode valueEMP-004217
return_noteTextIf found, please return to Example Health, 10 Park Road, …

Use it with the API

  1. Press "Use this template". After you sign in, the editor opens a copy in your workspace.

  2. Publish it. Its id replaces YOUR_TEMPLATE_ID below.

  3. Send your values:

curl -X POST https://mintrender.com/v1/render \  -H "Authorization: Bearer $MINTRENDER_KEY" \  -H "Content-Type: application/json" \  -d '{  "template": "YOUR_TEMPLATE_ID",  "data": {    "company": "Example Health",    "card_type": "STAFF",    "photo": "",    "name": "Amira Haddad",    "title": "Senior Nurse",    "department": "Cardiology, Ward 4",    "id_number": "EMP-004217",    "valid": "03/2029",    "barcode": "EMP-004217",    "return_note": "If found, please return to Example Health, 10 Park Road, Leeds LS1 4AB."  },  "format": "png"}'

Signed link

Put a link like this in an image tag or an og:image tag. Your server signs it with the link key of your workspace. We make the image the first time someone opens the link. How to sign links.

https://img.mintrender.com/YOUR_TEMPLATE_ID/main.png?company=Example%20Health&card_type=STAFF&name=Amira%20Haddad&s=SIGNATURE

n8n and Make

Download the n8n workflow: in n8n, paste it on the canvas, then add your API key as a header credential (Authorization: Bearer mr_live_…).

In Make, add the HTTP module "Make a request": method POST, URL https://mintrender.com/v1/render, a header Authorization with Bearer and your key, body type Raw, content type JSON, and this body:

{  "template": "YOUR_TEMPLATE_ID",  "data": {    "company": "Example Health",    "card_type": "STAFF",    "photo": "",    "name": "Amira Haddad",    "title": "Senior Nurse",    "department": "Cardiology, Ward 4",    "id_number": "EMP-004217",    "valid": "03/2029",    "barcode": "EMP-004217",    "return_note": "If found, please return to Example Health, 10 Park Road, Leeds LS1 4AB."  },  "format": "png"}