Create comment

Creates a new comment on a video through the public review link.

Authentication

ParameterTypeDescription
link_idpathReview link identifier
tokenqueryUser session token

The token will be associated with the created comment. To edit or delete this comment later, use the same token. The token can be the same value as link_id or a unique identifier generated by the application.

Example: 550e8400-e29b-41d4-a716-446655440000

Behavior

To create a main comment:

  • Provide text, user_name and time (video timestamp in seconds)
  • The time must be less than or equal to the video duration

To create a reply to an existing comment:

  • Provide text, user_name and reply_to (UUID of the parent comment)
  • The time is automatically inherited from the parent comment

Limits

  • Maximum of 30 main comments per video
  • Maximum of 30 replies per comment
  • Text with maximum 500 characters

Requirements

  • The link must have allow_comment: true
  • The link must be active and not expired
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

POST /public-video-review/{link_id}/comments

Creates a comment on the video from the reviewer side. Use either to post a top‑level comment at a specific timestamp or to reply to another comment.

📘

Authentication: session token

Pass the reviewer's token UUID as a query parameter. This token is associated with the new comment — keep it to later edit or delete it.

⚠️

time rule

  • For a top‑level comment, time is required and must be the video duration.
  • For a reply (reply_to set), time is inherited from the parent comment and you may omit it.

HTTP Method & Path

POST /public-video-review/{link_id}/comments?token=<uuid>

Base URL: https://api-v2.pandavideo.com.br

Path Parameters

NameTypeRequiredDescription
link_idstring (uuid)yesReview link UUID.

Query Parameters

NameTypeRequiredDescription
tokenstring (uuid)yesReviewer session token.

Request Body

Content-Type: application/json

Body Parameters

FieldTypeRequiredDescription
textstring (1–500, no < > { } [ ])yesComment text.
user_namestring (1–100, [a-zA-Z0-9 \-_.@]+)yesReviewer display name.
timeinteger (≥ 0)conditionalVideo timestamp in seconds. Required for top‑level, optional for replies.
reply_tostring (uuid)noParent comment UUID. When present, creates a nested reply.
{
  "text": "The audio is low in this section.",
  "user_name": "John Smith",
  "time": 330
}
{
  "text": "I agree, I will adjust it in the next version.",
  "user_name": "Mary Johnson",
  "reply_to": "550e8400-e29b-41d4-a716-446655440001"
}

Response

Success Response (200)

{
  "id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
  "video_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "user_name": "John Smith",
  "text": "The audio is low in this section.",
  "status": "open",
  "time": 330,
  "reply_to": null,
  "created_at": "2025-01-15T10:30:00.000Z",
  "updated_at": "2025-01-15T10:30:00.000Z"
}

Error Responses

  • 400 — invalid body, time missing on a top‑level comment, time greater than video duration, reply_to not a valid sibling, or comment/reply limit reached (30 each).
  • 401 — missing/invalid token.
  • 403 — link expired/inactive or allow_comment: false.
  • 404 — link not found.
  • 500 — internal error.

Example Usage

cURL

curl --request POST \
  --url 'https://api-v2.pandavideo.com.br/public-video-review/550e8400-e29b-41d4-a716-446655440000/comments?token=550e8400-e29b-41d4-a716-446655440000' \
  --header 'Content-Type: application/json' \
  --data '{
    "text": "The audio is low in this section.",
    "user_name": "John Smith",
    "time": 330
  }'

Recipes

Path Params
uuid
required
Query Params
uuid
required

User session token. This token will be associated with the created comment.

Body Params
string
required
length between 1 and 500
^[^<>{}\[\]]*$

Comment text. Does not allow HTML tags or special characters like < > { } [ ].

string
required
length between 1 and 100
^[a-zA-Z0-9\s\-_\.@]+$

Name of the user commenting. Allows letters, numbers, spaces and the characters - _ . @.

integer
≥ 0

Video timestamp in seconds where the comment refers to.
Required for main comments, optional for replies (inherits from parent).

Examples:

  • 90 = 1:30 (1 minute and 30 seconds)
  • 330 = 5:30 (5 minutes and 30 seconds)
  • 3600 = 1:00:00 (1 hour)
uuid

Parent comment UUID. When provided, creates a reply linked to the specified comment.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json