Skip to main content
GET
/
open-api
/
v1.1
/
memberships
/
posts
List Posts
curl --request GET \
  --url https://api.fourthwall.com/open-api/v1.1/memberships/posts \
  --header 'Authorization: Bearer <token>'
{
  "posts": [
    {
      "type": "Text",
      "title": "<string>",
      "liveAt": "2023-11-07T05:31:56Z",
      "path": "<string>",
      "access": {
        "type": "Plans",
        "tiers": [
          {
            "id": 123
          }
        ]
      },
      "notifications": {
        "type": "Enabled"
      },
      "tags": [
        {
          "id": 123
        }
      ],
      "statuses": {
        "resources": "None",
        "post": "Created",
        "schedule": "None"
      },
      "comments": {
        "count": 123
      },
      "likes": {
        "count": 123
      },
      "id": 123,
      "description": "<string>",
      "pinnedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "pages": 123,
    "limit": 123,
    "page": 123,
    "total": 123
  }
}
OAuth scope: memberships_readAPI keys have full access to this endpoint.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-ShopId
string

Query Parameters

page
integer
limit
integer
search_query
string
types[]
(enum<string> | null)[]
Available options:
Text,
Poll,
Image,
Audio,
Video
ids[]
(integer | null)[]
state
enum<string>
required
Available options:
Published,
Scheduled,
All
tags_ids[]
(integer | null)[]

Response

posts
(Text · object | Poll · object | Audio · object | Video · object | Video Embed · object | Image · object)[]
required
pagination
Pagination · object
required