Passo Developers
Api

Comment on a video version

POST
/video-versions/{versionId}/comments

Adds a timestamped comment to a video version, or a one-level reply when parentId is given. Body: body (required, non-empty), optional startMs (>=0) to pin it to a moment, optional endMs (>=startMs) for a range, optional parentId to reply. Only workspace members may comment. Returns the created comment. New comments are internal (not creator-visible).

Authorization

oauthJwt
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

versionId*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/video-versions/string/comments" \  -H "Content-Type: application/json" \  -d '{    "body": "string"  }'
{  "id": "string",  "versionId": "string",  "parentId": "string",  "authorUserId": "string",  "body": "string",  "startMs": -9007199254740991,  "endMs": -9007199254740991,  "visibility": "internal",  "resolvedAt": "string",  "resolvedByUserId": "string",  "createdAt": "string",  "updatedAt": "string"}