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

## Changes

- **2026-08-19** `ba3a29c6eb33` — 3 info
  - added the optional property `retryable` to the response with the `400` status
  - added the optional property `retryable` to the response with the `401` status
  - added the optional property `retryable` to the response with the `404` status
- **2026-08-16** `6fd2903b91ce` — 3 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `404` status
- **2026-08-13** `fc5624c7d57a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/campaigns/:campaignId/share-link/post.md)

---

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