Skip to main content
inputCreateCommentInput

Fields

body
String!
required

Comment text (HTML is sanitized server-side)

clientMutationId
String

A unique identifier for the client performing the mutation.

postId
ID!
required

ID of the post to comment on — resource ID or GlobalID.

replyToId
ID

ID of the parent comment when replying — resource ID or GlobalID.