Skip to navigation

Publish a share link

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

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

OR
X-Api-Keystring
API Key authentication via header

Request

This endpoint expects an object.
postIdslist of stringsRequired

Post ids on the target team (from GET /posts or a content job’s accepted[].postId)

titlestringOptional<=200 characters
notestringOptional<=2000 characters
Shown to recipients at the top of the brief
accessModeenumOptionalDefaults to team

team: signed-in team members only. public: anyone with the link

Allowed values:
expiresAtdatetimeOptional
When the link stops opening. Omit for no expiry
teamIdstringOptional

Enterprise keys only — a sub-team of the key’s enterprise

analysisIdstringOptional

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

Brief published
dataobjectOptional
metaobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error