# Case study / testimonial OG image template

A headline result in large numbers next to a customer quote with photo, name and role.

- Slug: `case-study`
- Preview (real render): https://shareglint.com/img/templates/case-study.jpg
- Page: https://shareglint.com/en/templates/case-study

Case studies sell with one number. This card puts the result — 3.2×, -40 %, 12 hours — in a gradient on the left and the customer's words on the right, with their photo, role and company logo.

## 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 |
|---|---|---|---|
| `quote` | text | The quote itself. (default: Customer quote) | We replaced a fragile Puppeteer service with one API call. Our social previews finally look like our brand. |
| `name` | text | Customer's name. | Sofia Ramos |
| `role` | text | Role or job title. | Head of Growth |
| `company` | text | Company name. | Northwind |
| `metric` | text | The headline result, e.g. 3.2×. | 3.2× |
| `metric_label` | text | What the result measures. | more clicks from shared links |
| `site` | text | Your domain or a short URL. | shareglint.com/customers |
| `photo` | image URL | Customer's photo. | https://example.com/images/avatar-woman2.jpg |
| `logo` | image URL | Customer's company logo. | https://example.com/images/logo-northwind.png |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #2563eb) | #2563eb |
| `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": "case-study",
    "modifications": {
        "quote": "We replaced a fragile Puppeteer service with one API call. Our social previews finally look like our brand.",
        "name": "Sofia Ramos",
        "role": "Head of Growth",
        "company": "Northwind",
        "metric": "3.2×",
        "metric_label": "more clicks from shared links",
        "site": "shareglint.com/customers",
        "photo": "https://example.com/images/avatar-woman2.jpg",
        "logo": "https://example.com/images/logo-northwind.png"
    }
}'
```

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