---
title: "Count Container Comments"
method: POST
path: "/v4/livecomments/{section_uuid}/content-containers/comment-count-and-status/by-container-ids"
tags: ["CommentContainer"]
---

# Count Container Comments

`POST /v4/livecomments/{section_uuid}/content-containers/comment-count-and-status/by-container-ids`

## Request

- Base URL: `https://livecomments.viafoura.co`
- URL: `https://livecomments.viafoura.co/v4/livecomments/{section_uuid}/content-containers/comment-count-and-status/by-container-ids`
- Auth: one of:
  - HTTP basic
  - API key in header `X-REQUEST_SIGNATURE`

Lists the comment count of every visible comment for each content container specified along with the container status. The container ids that do not exist would be filtered out in the response.

## Path parameters

- `section_uuid` string, uuid, required

## Request body

- string[]

## Response `200`

OK

- ContentContainerCommentCountAndStatus[]
  - `containerId` string
  - `commentCount` integer
  - `status` 'hidden' | 'visible': the state of the container

## Other responses

- `400`: BadRequest

---

[API](https://skmtc.dev/viafoura/apis/comments-api.md) - [All operations](https://skmtc.dev/viafoura/apis/comments-api/llms.txt) - [OpenAPI document](https://skmtc.dev/viafoura/apis/comments-api/revisions/4a47441a5471?raw)
