---
title: "Generate Share Previews Endpoint"
method: POST
path: "/v1/strategies/{strategy_id}/share-previews"
tags: ["sharing"]
---

# Generate Share Previews Endpoint

`POST /v1/strategies/{strategy_id}/share-previews`

## Request

- Base URL: `https://api.usekeel.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.usekeel.io/v1/strategies/{strategy_id}/share-previews`
- Auth: none declared

Generate card preview PNGs for the share dialog (no share link created yet).

## Path parameters

- `strategy_id` string, required

## Headers

- `Authorization` string, nullable
- `X-Org-Id` string, nullable

## Request body

- GenerateSharePreviewsRequest
  - `types` string[], required
  - `backtest_id` string, nullable

## Response `200`

Successful Response

- SharePreviewsResponse
  - `previews` SharePreviewItem[], required
    - `type` string, required
    - `url` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usekeel/apis/keel-api.md) · [All operations](https://skmtc.dev/usekeel/apis/keel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usekeel/apis/keel-api/revisions/3191ca10b0ab?raw)
