Returns all comments for a video with pagination and filter support.
Authentication
This endpoint requires authentication via API Key in the Authorization header.
Authorization: <your-api-key>
Action Parameter
This endpoint uses the query parameter action=comment to identify the operation.
GET /video-review/{video_id}?action=comment
Behavior
- Returns main comments with their nested replies in the
repliesfield - Supports pagination via
pageandlimit - Allows filtering by
status(open/resolved) - Includes user information (avatar, user_id) when available
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
GET /video-review/{video_id}/comments
{video_id}/commentsLists comments on a video from the owner side, with pagination and replies nested.
AuthorizationRequires a valid API Key in the
Authorizationheader. Send the key directly — noBearerprefix.
?action=commentis requiredThe Private API dispatches by the
actionquery parameter. Calling without?action=commentreturns 404 Route not found.The gateway uses the
video_idfrom the path and ignores any trailing segment (so/video-review/{video_id}and/video-review/{video_id}/commentsare equivalent for GET as long as?action=commentis set). The canonical form used by the dashboard isGET /video-review/{video_id}?action=comment.
HTTP Method & Path
GET /video-review/{video_id}/comments?action=comment
Base URL: https://api-v2.pandavideo.com.br
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
video_id | string (uuid) | yes | Video UUID. |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
action | string | yes | Must be comment. |
page | string | no | Page number (digits only, 0–1000000). Default 1. |
limit | string | no | Items per page (1–100). Default 10. |
status | string | no | open or resolved. |
Response
Success Response (200)
Same paginated shape as the public list:
{
"data": [
{
"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": "Lighting needs work here.",
"status": "open",
"time": 330,
"reply_to": null,
"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",
"replies": []
}
],
"hasNextPage": false,
"totalPages": 1,
"page": 1,
"limit": 10,
"totalItens": 1
}Response Schema
Same as List comments (public). The private response additionally exposes user_id and avatar when available.
Error Responses
- 400 — invalid
page/limit/statusvalue. - 401 — missing/invalid API Key.
- 404 — user or video not found.
- 500 — internal error.
Example Usage
cURL
curl --request GET \
--url 'https://api-v2.pandavideo.com.br/video-review/a1b2c3d4-e5f6-7890-abcd-ef1234567890?action=comment&page=1&limit=10' \
--header 'Authorization: <your-api-key>'