Skip to navigation

Publish a share link (legacy path)

Deprecated

Legacy path for POST /shares. Same scope, body, response, and rate class; existing integrations keep working.

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

Share link published
dataobjectOptional
metaobjectOptional

Errors

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