These are examples of queries to fetch and add comments.

Fetching comments permalink

Comments from a post:

Comments and their responses, for multiple levels:

Filtering comments:

Counting comment results:

Paginating comments:

Fetching meta values:

Adding a comment permalink

Logged-in users can add comments (log yourself in to execute this query in the demo site):

We can also use nested mutations:

Replying to a comment permalink

Similar to adding a comment, but also providing argument parentCommentID:

Or use the more specific replyComment field:

Or navigate to the parent comment using nested mutations: