countComments( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Counts comments, given the provided filtering.

For field support for filters and sorting, see the Supported Filters & Sorting table in the queryComments() function.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Comments
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
appIdstringRequired

App ID to count the comments of.


optionsCountCommentsOptions
Returns
Return Type:Promise<CountCommentsResponse>
Did this help?