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.

Admin Method

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

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Comments
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
appIdstringRequired

App ID to count the comments of.


optionsCountCommentsOptions
Returns
Return Type:Promise<CountCommentsResponse>
Was this helpful?
Yes
No