MintRender

Templates / Ticket

Movie ticket template

A cinema admission ticket: film, date, time, screen and seat, with a stub and a barcode. 1000 × 380 px.

Loading the template…

Fields

NameTypeShows now
cinemaTextRoyal Picture House
filmTextThe Long Way North
dateTextFri 14 May
timeText19:30
screenText3
seatTextH 14
infoTextAdult · £12.50 · Rated 12A
stub_whenTextFri 14 May · 19:30
barcodeBarcode valueRPH-0514-H14

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": {    "cinema": "Royal Picture House",    "film": "The Long Way North",    "date": "Fri 14 May",    "time": "19:30",    "screen": "3",    "seat": "H 14",    "info": "Adult · £12.50 · Rated 12A",    "stub_when": "Fri 14 May · 19:30",    "barcode": "RPH-0514-H14"  },  "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?cinema=Royal%20Picture%20House&film=The%20Long%20Way%20North&date=Fri%2014%20May&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": {    "cinema": "Royal Picture House",    "film": "The Long Way North",    "date": "Fri 14 May",    "time": "19:30",    "screen": "3",    "seat": "H 14",    "info": "Adult · £12.50 · Rated 12A",    "stub_when": "Fri 14 May · 19:30",    "barcode": "RPH-0514-H14"  },  "format": "png"}