> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api.docs.siftsy.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.docs.siftsy.com/_mcp/server.

# Publish a share link

POST https://api.siftsy.app/analyst/v1/shares
Content-Type: application/json

Requires `shares:write` (opt-in when the key is created; keys with
the legacy `briefs:write` name still work). `POST /briefs` is the
legacy path for this route. Publishes
the same Shareable Brief the dashboard's Share button creates, for up
to 100 posts on the team. The brief captures the posts, their metrics,
and the team's score version when it is created. Pass `analysisId`
(a `ready` analysis created with `include: ["insights"]` on exactly
these posts) and the brief shows that analysis' scores, comment
summary, themes, and top comments. Without it, when a teammate has
opened exactly these posts on the dashboard and that analysis is still
current, the brief includes its comment summary, themes, and top
comments. Otherwise a one-post brief shows the post's comment scores
and a multi-post brief has no comment analysis.

`accessMode: team` (default) opens only for signed-in team members;
`public` opens for anyone with the link. Invite-only briefs are
created in the app. Every post must
be on the target team, or the request is `404`. `teamId` targets an
Enterprise sub-team as on the content routes.

Rate class `briefs_create` (10 / minute, 200 / day per key).


Reference: https://api.docs.siftsy.com/api-reference/siftsy-analyst-api/create-share

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.
- `X-Api-Key` header (required) — API Key authentication via header

## Servers

- `https://api.siftsy.app/analyst/v1` (Production, default)
- `http://localhost:3000/analyst/v1` (Local development)

## Request

### Body (application/json)

This endpoint expects a CreateBriefRequest.

- `postIds` (list of string, required) — Post ids on the target team (from `GET /posts` or a content job's `accepted[].postId`)
- `title` (string, optional)
- `note` (string, optional) — Shown to recipients at the top of the brief
- `accessMode` (enum, optional, default: team) — `team`: signed-in team members only. `public`: anyone with the link
  - Allowed values: `team`, `public`
- `expiresAt` (datetime, optional) — When the link stops opening. Omit for no expiry
- `teamId` (string, optional) — Enterprise keys only — a sub-team of the key's enterprise
- `analysisId` (string, optional) — A `ready` analysis (`kind` `snapshot` or `search`, not a comparison) created with `include: ["insights"]` on exactly `postIds`. The brief shows its scores, comment summary, themes, and top comments. A searched or filtered analysis shows as that search on the brief, labeled with `search.query` and its applied filters, instead of as the Overview. Needs `analyses:read`, or an analysis this key created. `400` when the analysis doesn't fit (not ready, a comparison, other posts, no insights, or older than the posts' latest sync).

## Response

### 201

Brief published

- `data` (Brief, optional)
- `meta` (EnvelopeBriefMeta, optional)

## Errors

### 400 Bad Request Error

Invalid request

- `any`

### 403 Forbidden Error

Missing required scope

- `any`

### 404 Not Found Error

Resource not found

- `any`

### 429 Too Many Requests Error

A per-minute cap, a per-day budget, or the daily transfer cap was exceeded. `error.message` is `Rate limit exceeded`, `Daily request limit exceeded`, or `Daily transfer limit exceeded`. Honor `Retry-After` (next UTC minute for burst caps; UTC midnight for daily budgets). Sized for a scheduled BI refresh: burst caps that a sequential loop cannot trip, daily budgets that fit eight full refreshes a day of a 500-post workspace or one full refresh plus hourly incrementals. Defaults: 300/minute and 10,000/day globally, with class budgets for per-post comment samples (120/min, 1,000/day), analysis-wide comment samples (20/min, 300/day), collection posts (60/min, 1,000/day), analysis reads (60/min, 2,000/day), analysis create (10/min, 100/day), AI search and written answers (2/min, 10/day), scans, breakdowns, and link matching (20/min, 500/day each), analysis exports (30/min, 500/day), adding posts (10/min, 200/day), adding accounts (2/min, 20/day), refreshing posts (10/min, 200/day), tagging and archiving posts (20/min, 500/day each), share links (10/min, 200/day), and content job polls (60/min, 2,000/day). Daily transfer cap 500 MB. `POST /analyses` with AI also returns `429` with `error.code: ai_budget_exceeded` when the team's daily AI budget is spent; `error.budget` has `used`, `limit`, and `resetsAt`, and `Retry-After` runs to UTC midnight.

- `any`

## Types

### Brief

- `id` (string, optional)
- `teamId` (string, optional)
- `title` (string, optional, nullable)
- `note` (string, optional, nullable)
- `accessMode` (enum, optional)
  - Allowed values: `team`, `public`
- `postIds` (list of string, optional)
- `url` (string, optional) — The Shareable Brief link
- `dashboardUrl` (string, optional) — The same posts on the team dashboard (sign-in required)
- `expiresAt` (datetime, optional, nullable)
- `createdAt` (datetime, optional)
- `engineVersions` (EngineVersions, optional) — Versions that produced this result. A search-only result omits `analysis`. `sentiment` is the processing service's sentiment stamp, passed through unchanged. When posts disagree it is `{ stamps, truncated, omitted }`.

### EnvelopeBriefMeta

### EngineVersions

Versions that produced this result. A search-only result omits `analysis`. `sentiment` is the processing service's sentiment stamp, passed through unchanged. When posts disagree it is `{ stamps, truncated, omitted }`.

- `api` (string, optional)
- `search` (EngineStamp, optional) — One engine stamp. `version` is `search@x.y.z` or `analysis@x.y.z`. `mixedWith` lists earlier `id@fingerprint` values reused from a cached partial.
- `analysis` (EngineStamp, optional) — One engine stamp. `version` is `search@x.y.z` or `analysis@x.y.z`. `mixedWith` lists earlier `id@fingerprint` values reused from a cached partial.
- `sentiment` (any, optional, nullable)
- `commentDataVersion` (integer, optional, nullable)

### EngineStamp

One engine stamp. `version` is `search@x.y.z` or `analysis@x.y.z`. `mixedWith` lists earlier `id@fingerprint` values reused from a cached partial.

- `id` (string, optional)
- `version` (string, optional)
- `fingerprint` (string, optional)
- `promptHash` (string, optional, nullable)
- `overrides` (map from string to any, optional)
- `fallbacks` (list of map from string to any, optional)
- `modified` (boolean, optional)
- `draft` (boolean, optional)
- `parent` (string, optional, nullable)
- `mixedWith` (list of string, optional)

## Examples

**Request**

```json
{
  "postIds": [
    "post_01j9y"
  ],
  "title": "Dove holiday launch — first read",
  "note": "Pulled from #social-insights"
}
```

**Response**

```json
{
  "data": {
    "id": "6c1f0e5a-3d2b-4a8e-9f10-2b3c4d5e6f70",
    "teamId": "team_2f8c1a",
    "title": "Dove holiday launch — first read",
    "note": "Pulled from #social-insights",
    "accessMode": "team",
    "postIds": [
      "post_01j9y"
    ],
    "url": "https://siftsy.app/share/9f2c1a7e",
    "dashboardUrl": "https://siftsy.app/team/team_2f8c1a/post/post_01j9y",
    "expiresAt": null,
    "createdAt": "2026-10-19T22:10:00.000Z"
  },
  "meta": {}
}
```

**SDK Code**

```python briefs_createShare_example
import requests

url = "https://api.siftsy.app/analyst/v1/shares"

payload = {
    "postIds": ["post_01j9y"],
    "title": "Dove holiday launch — first read",
    "note": "Pulled from #social-insights"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript briefs_createShare_example
const url = 'https://api.siftsy.app/analyst/v1/shares';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"postIds":["post_01j9y"],"title":"Dove holiday launch — first read","note":"Pulled from #social-insights"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go briefs_createShare_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.siftsy.app/analyst/v1/shares"

	payload := strings.NewReader("{\n  \"postIds\": [\n    \"post_01j9y\"\n  ],\n  \"title\": \"Dove holiday launch — first read\",\n  \"note\": \"Pulled from #social-insights\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby briefs_createShare_example
require 'uri'
require 'net/http'

url = URI("https://api.siftsy.app/analyst/v1/shares")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"postIds\": [\n    \"post_01j9y\"\n  ],\n  \"title\": \"Dove holiday launch — first read\",\n  \"note\": \"Pulled from #social-insights\"\n}"

response = http.request(request)
puts response.read_body
```

```java briefs_createShare_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.siftsy.app/analyst/v1/shares")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"postIds\": [\n    \"post_01j9y\"\n  ],\n  \"title\": \"Dove holiday launch — first read\",\n  \"note\": \"Pulled from #social-insights\"\n}")
  .asString();
```

```php briefs_createShare_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.siftsy.app/analyst/v1/shares', [
  'body' => '{
  "postIds": [
    "post_01j9y"
  ],
  "title": "Dove holiday launch — first read",
  "note": "Pulled from #social-insights"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp briefs_createShare_example
using RestSharp;

var client = new RestClient("https://api.siftsy.app/analyst/v1/shares");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"postIds\": [\n    \"post_01j9y\"\n  ],\n  \"title\": \"Dove holiday launch — first read\",\n  \"note\": \"Pulled from #social-insights\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift briefs_createShare_example
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "postIds": ["post_01j9y"],
  "title": "Dove holiday launch — first read",
  "note": "Pulled from #social-insights"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.siftsy.app/analyst/v1/shares")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```