# Booking slots OG image template

Open appointments for the week: a date tile per day, free times as filled pills, taken ones struck through, and a booking link.

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

For salons, coaches, consultants and booking platforms that post their free slots from the calendar. A time in parentheses is shown as taken, so the free ones read as scarce; each day shows up to six times, and as many days as the frame holds at a readable size (four on wide frames, up to seven on a story). The photo fills the side panel on wide frames, a round portrait in the square and a banner on vertical frames; without it, the panel shows the first letter of the business.

## 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 | Headline, e.g. Open slots this week. (default: Open slots this week) | Open slots this week |
| `slots` | text | Days separated by ; — each as Day\|times, times separated by commas, a taken time in parentheses, e.g. Mon 3\|9:00, (10:30), 13:00. A day ending in a number becomes a date tile. | Mon 3\|9:00, (10:30), 13:00, 16:30;Tue 4\|(9:00), (11:00), 15:30;Wed 5\|10:00, 12:30, (14:00), 17:00, 18:30;Thu 6\|(9:30), 11:00;Fri 7\|9:00, 10:30, (13:00), 15:00, 16:30, 18:00;Sat 8\|10:00, (11:30) |
| `period` | text | Dates in the pill, e.g. Nov 3–8. | Nov 3–8 |
| `business` | text | Business or person name. | Studio Lena · Hair & colour |
| `booking_url` | text | Where to book, e.g. studiolena.com/book. | studiolena.com/book |
| `photo` | image URL | Photo of the person or the place. | https://example.com/images/avatar-woman2.jpg |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #db2777) | #db2777 |
| `theme` | dark | light | Colour scheme: dark or light. (default: 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": "booking-slots",
    "modifications": {
        "title": "Open slots this week",
        "slots": "Mon 3|9:00, (10:30), 13:00, 16:30;Tue 4|(9:00), (11:00), 15:30;Wed 5|10:00, 12:30, (14:00), 17:00, 18:30;Thu 6|(9:30), 11:00;Fri 7|9:00, 10:30, (13:00), 15:00, 16:30, 18:00;Sat 8|10:00, (11:30)",
        "period": "Nov 3–8",
        "business": "Studio Lena · Hair & colour",
        "booking_url": "studiolena.com/book",
        "photo": "https://example.com/images/avatar-woman2.jpg"
    }
}'
```

## 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/booking-slots/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
