getCommentThread( )


Developer Preview

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

Returns a thread of a comment or a reply.

If you request a comment thread, the endpoint returns a single comment with cursors. With cursors (pagingMetadata.cursors.next or pagingMetadata.cursors.prev) you can load replies by calling the List Comments by Resource endpoint.

If you request a reply thread, the endpoint returns a reply with its parent comment. With cursors (pagingMetadata.cursors.next or pagingMetadata.cursors.prev) you can load replies by calling the List Comments by Resource endpoint.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

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

Comment ID.


optionsGetCommentThreadOptions
Returns
Return Type:Promise<GetCommentThreadResponse>
Did this help?