v1
latestOpenAPI 3.1.02026-07-2416666272.6 KBPublic - Comments
Create comment
Creates a new comment on a video through the public review link.
Authentication
| Parameter | Type | Description |
|---|---|---|
| link_id | path | Review link identifier |
| token | query | User 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
post/public-video-review/{link_id}/comments
Path parameters
link_idstring uuid required
Review link UUID
Query parameters
tokenstring uuid required
User session token. This token will be associated with the created comment.
Request body
Example request
{
"text": "The audio is low in this section, it would be good to increase the volume.",
"user_name": "John Smith",
"time": 330,
"reply_to": "550e8400-e29b-41d4-a716-446655440001"
}Response
Comment created successfully
Example response
{
"id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
"video_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"user_id": "1b4f677f-4f6e-459d-84e0-7c304d3dbf48",
"user_name": "John Smith",
"text": "The audio is low in this section.",
"status": "open",
"time": 330,
"avatar": "https://cdn.pandavideo.com.br/avatars/user123.jpg",
"created_at": "2025-01-15T10:30:00.000Z",
"updated_at": "2025-01-15T10:30:00.000Z"
}