GraphQL API

GraphQL API

Latest Poppulo platform GraphQL API

Create Post CommentMutation

Create a comment on a post

Request Parameters

  • enterpriseId

    ID
    Deprecated
    Optional

    ID of the enterprise account

    Deprecation date 01 Feb 2022

  • postId

    String
    Required

    ID of the post

  • comment

    String
    Required

    Comment Text - ensure individual comments do not exceed 480 characters

Response Fields

Comment
  • postId

    String

    Post id associated with this comment

  • commentId

    String
    Deprecated

    Unique identifier of comment

    Deprecation date 03 Nov 2022

  • id

    ID

    Unique identifier of comment

  • content

    String

    Content of comment

  • timeOfPublish

    String

    Epoch time for when comment was published

  • cognitoSubId

    String
    Deprecated

    Cognito identifier of user who is commented

    Deprecation date 03 Jun 2023

  • author

    String

    Name of user who commented

  • commentByUser

    Boolean

    Denotes whether comment returned was by requesting user

  • status

    Status

    Comment publication status

    • DELETED
    • PENDING_PUBLISHED
    • PUBLISHED
  • poppuloId

    String

    Poppulo identifier of user who commented