GraphQL API

GraphQL API

Latest Poppulo platform GraphQL API

Get PostsQuery

Get a list of posts

Request Parameters

  • enterpriseId

    ID
    Deprecated
    Optional

    ID of the enterprise account

    Deprecation date 01 Feb 2022

  • postType

    PostType
    Optional

    Used to denote the type of posts to fetch i.e. all posts, featured posts or non-featured posts

    • ALL
    • FEATURED
    • NONFEATURED
  • first

    Int
    Optional

    Used for pagination to specify the number of items returned, should not be used in conjuction with last

  • last

    Int
    Optional

    Used for pagination to specify the number of items returned, should not be used in conjunction with first

  • before

    String
    Optional

    Used for pagination to get the previous page of data before the specified cursor

  • after

    String
    Optional

    Used for pagination to get the next page of data after the specified cursor

  • sortField

    String
    Optional

    Legacy sort field

  • sortOrder

    SortOrder
    Optional

    Legacy sort order

    • ASCENDING
    • DESCENDING
  • language

    Locale
    Optional

    The language the posts body content should be returned in

Response Fields

FeedResponseConnection