Passo Developers
Api

Share a thread with the creator

POST
/comments/{commentId}/share

Promotes a comment thread to creator-visible, or returns it to internal. Body: share (boolean) — true shares, false unshares. Sharing propagates to the whole thread (a reply id resolves to its root). Only the thread's author may share it. 404 if the comment does not exist or the caller cannot see it; 403 if the caller did not author the thread.

Authorization

AuthorizationBearer <token>

A Supabase-issued OAuth user access token. On collection endpoints, pair with a Passo-Workspace header to pick a workspace.

In: header

Path Parameters

commentId*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/comments/string/share" \  -H "Content-Type: application/json" \  -d '{    "share": true  }'
{  "id": "string",  "versionId": "string",  "parentId": "string",  "authorUserId": "string",  "body": "string",  "startMs": -9007199254740991,  "endMs": -9007199254740991,  "visibility": "internal",  "resolvedAt": "string",  "resolvedByUserId": "string",  "createdAt": "string",  "updatedAt": "string"}