Skip to content
FreeTicketDocs
Esc
↑↓navigate↵open⌘Jpreview

List the organization's community feed

Posts from the active workspace, newest first, excluding deleted posts and posts scheduled for the future. A post with locked: true arrives redacted (content, imageUrl, videoId, eventId and link set to null, commentsCount set to 0): it is members-only content and the key does not represent a buyer with a current membership. Does not include likes_count (only visible to the workspace owner) or the post’s internal author.

GET/content/posts
Authorization
AuthorizationAPI key · headerrequired

API key prefixed with Bearer . Alternative: the x-api-key header with the raw key. Available scopes: read and write (see /.well-known/oauth-protected-resource).

or
x-api-keyAPI key · headerrequired

Raw API key (without Bearer ), alternative to Authorization.

Query parameters
limitinteger

1-100, default 20

default: 20
cursorstring
Header parameters
X-Workspace-Idstring

Active workspace to operate on. Optional: when omitted, the default workspace of the user who owns the key is used (pickActiveOrg).

Responses
200

OK

dataContentPost[]required
Show properties
Array of ContentPost
idstringrequired
typestringrequired
Allowed:TEXTIMAGEVIDEOARTICLE
contentstring | nullrequired
Show properties
Any of:
string
string
null
null
imageUrlstring | nullrequired

ARTICLE post: also serves as the article's cover image.

Show properties
Any of:
string
string
null
null
videoIdstring | nullrequired

VIDEO post: id of the ContentVideo, to cross-reference with GET /content/videos.

Show properties
Any of:
string
string
null
null
eventIdstring | nullrequired
Show properties
Any of:
string
string
null
null
lockedbooleanrequired

true = post restricted to current members; its content arrives redacted.

titlestring | nullrequired

ARTICLE posts only; null for every other type.

Show properties
Any of:
string
string
null
null
subtitlestring | nullrequired

ARTICLE posts only.

Show properties
Any of:
string
string
null
null
slugstring | nullrequired

ARTICLE posts only. Permalink at /comunidades/articulos/{slug}, unique per organization.

Show properties
Any of:
string
string
null
null
bodystring | nullrequired

ARTICLE posts only. Body in Markdown.

Show properties
Any of:
string
string
null
null
readingMinutesinteger | nullrequired

ARTICLE posts only. Not redacted when locked: it does not leak content, only its length.

Show properties
Any of:
integer
integer
null
null
linkobject | nullrequired

Open Graph snapshot of the first link in the text. Always null for ARTICLE posts.

Show properties
Any of:
object
urlstringrequired
titlestring | nullrequired
Show properties
Any of:
string
string
null
null
descriptionstring | nullrequired
Show properties
Any of:
string
string
null
null
imageUrlstring | nullrequired
Show properties
Any of:
string
string
null
null
domainstringrequired
null
null
commentsCountintegerrequired

Visible comments: excludes deleted ones and those hidden by moderation (and replies to a hidden comment). 0 if the post arrives redacted.

min -9007199254740991 · max 9007199254740991
publishedAtstringrequired
pagePagerequired
Show properties
nextCursorstring | nullrequired
Show properties
Any of:
string
string
null
null
hasMorebooleanrequired
totalinteger
min -9007199254740991 · max 9007199254740991
401

Missing or invalid credential.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsany
403

Insufficient role or resource not accessible.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsany
404

Resource does not exist or is out of scope.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsany
422

Request body/parameter validation failed.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsany
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://admin.appfreeticket.com/api/v1/content/posts' \
  -H 'Authorization: YOUR_API_KEY'
Response
{
  "data": [
    {
      "id": "string",
      "type": "TEXT",
      "content": "string",
      "imageUrl": "string",
      "videoId": "string",
      "eventId": "string",
      "locked": true,
      "title": "string",
      "subtitle": "string",
      "slug": "string",
      "body": "string",
      "readingMinutes": -9007199254740991,
      "link": {
        "url": "string",
        "title": "string",
        "description": "string",
        "imageUrl": "string",
        "domain": "string"
      },
      "commentsCount": -9007199254740991,
      "publishedAt": "string"
    }
  ],
  "page": {
    "nextCursor": "string",
    "hasMore": true,
    "total": -9007199254740991
  }
}