countComments( )


Counts comments, given the specified filtering. Comments with the HIDDEN status are not included in the response.

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>
Errors
428Failed Precondition

There is 1 error with this status code:

See the entire list and learn more about Wix errors.

Did this help?