---
title: "Create share link"
method: POST
path: "/campaigns/{campaignId}/share-link"
tags: ["Campaigns"]
---

# Create share link

`POST /campaigns/{campaignId}/share-link`

Creates (or fetches) the campaign's public view-in-browser link. 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. Email campaigns only.

## Path parameters

- `campaignId` 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

- `400` — SMS campaigns have no browser view to share
- `401` — Unauthorized
- `404` — Campaign 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/8fbabe82a04d/schema)
