# Custom ticket (6 designs) OG image template

A printable ticket in six designs — concert, conference, raffle, party, cinema and sports — with seat, price, ticket number, a real QR code and an optional tear-off stub.

- Slug: `custom-ticket`
- Preview (real render): https://shareglint.com/storage/template-previews/custom-ticket.jpg
- Page: https://shareglint.com/en/templates/custom-ticket

For organisers who send or print one ticket per guest. `design` picks the look; `qr` is text (a check-in code or a link) that the template turns into a scannable QR code itself, so nothing has to be generated or hosted first. `number` is printed on the ticket and on the stub. A wide frame such as 1400×560 is the ticket edge to edge, ready to print; other frames show it on a backdrop for posts. Long event names shrink to fit; other lines are cut with an ellipsis.

## Fields

Every field is optional. Long text shrinks to fit instead of overflowing; an image field takes a public URL that we fetch on our side.

| Field | Type | Description | Example |
|---|---|---|---|
| `title` | text | Event name, set in the largest type. (default: Event name) | Northwind Live: Launch Night |
| `design` | text | Look of the ticket: concert, conference, raffle, party, cinema or sports. (default: concert) | concert |
| `subtitle` | text | Line under the name: performer, line-up or prize. | with The Lisbon Strings |
| `date` | text | Date of the event. | Fri, Dec 5, 2026 |
| `time` | text | Doors and start time under the date. | Doors 19:00 · Show 20:00 |
| `venue` | text | Venue name. | Tivoli Hall |
| `city` | text | City or address under the venue. | Copenhagen |
| `section` | text | Section or block. | B |
| `row` | text | Row. | 7 |
| `seat` | text | Seat number. | 14 |
| `price` | text | Price as printed, e.g. €45 or Free. | €45 |
| `number` | text | Ticket number, on the ticket and on the stub. | 000142 |
| `holder` | text | Guest name. | Maya Chen |
| `qr` | text | Text or link turned into a QR code (up to 300 characters). | https://northwind.dev/t/000142 |
| `note` | text | Small print: rules, dress code, entrance. | No re-entry · Keep this ticket |
| `admit` | text | Line in the corner; empty = the design's own (Admit one). | — |
| `stub` | text | yes for a tear-off stub with the number and QR code, no for a plain ticket. (default: yes) | yes |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #ec4899) | #ec4899 |
| `theme` | dark | light | Colour scheme: dark or light. | — |

## Render it with one request

```bash
curl -X POST "https://shareglint.com/v1/images?wait=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "custom-ticket",
    "modifications": {
        "title": "Northwind Live: Launch Night",
        "design": "concert",
        "subtitle": "with The Lisbon Strings",
        "date": "Fri, Dec 5, 2026",
        "time": "Doors 19:00 · Show 20:00",
        "venue": "Tivoli Hall",
        "city": "Copenhagen",
        "section": "B",
        "row": "7",
        "seat": "14",
        "price": "€45",
        "number": "000142",
        "holder": "Maya Chen",
        "qr": "https://northwind.dev/t/000142",
        "note": "No re-entry · Keep this ticket",
        "stub": "yes"
    }
}'
```

## Make it yours

accent and theme change per request. For anything more, copy the template into your account: you get an ordinary HTML template with the same fields that you can edit in the dashboard or through the API. If the slug is free on your account, the copy takes it — your integrations switch to your version without changing a line.

```bash
curl -X POST "https://shareglint.com/v1/templates/library/custom-ticket/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
