Skip to main content
Any user associated with a context with AUTHENTICATED scope can add a comment to the own post or to a post created by any user from the network by executing of the createPostComment mutation. The current API user will be set as an author. Mutation has a single required incoming argument - data that represents PostCommentCreationInput object:
Extra content (like a training, a certificate or a badge) cannot be shared in a comment. Also, you cannot add a comment to another comment (only posts can be commented).
The mutation returns a Post object. Detailed description and the full list of available properties can be found here.