---
title: "Create share link"
method: POST
path: "/templates/{templateId}/share-link"
tags: ["Templates"]
---

# Create share link

`POST /templates/{templateId}/share-link`

Creates (or fetches) the public view-in-browser link for an individual email - a transactional email, a sequence email, or a standalone template. Accepts a template ID or a transactional email's ID or slug; for a sequence email, pass the step's emailId. The hosted page renders an anonymized copy - sample contact, inert unsubscribe link, no open/click tracking - so the URL is safe to forward to anyone. Idempotent - an already-active link is returned with created=false instead of being rotated. Campaigns use their own campaign-level share link, which follows the A/B winning variant.

## Path parameters

- `templateId` string, required

## Response `200`

Share link active

- object
  - `success` boolean
  - `shareUrl` string — Public anonymized view-in-browser URL.
  - `shareToken` string — Capability token embedded in the URL.
  - `created` boolean — False when an already-active link was returned instead of minted.

## Other responses

- `401` — Unauthorized
- `404` — Template not found

---

[API](https://skmtc.net/sequenzy/apis/sequenzy-api.md) · [All operations](https://skmtc.net/sequenzy/apis/sequenzy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sequenzy/sequenzy-api/revisions/fc5624c7d57a/schema)
