Skip to main content
GET
/
content
/
{content}
Get a post
curl --request GET \
  --url https://api.example.com/content/{content}
{
  "id": 1,
  "content_type": "news",
  "title": "Important update",
  "body": "Post body text",
  "show_in_feed": true,
  "important": false,
  "actively_requires_action": false,
  "mute_rule": 123,
  "seen_by_user": true,
  "has_unseen_mention": true,
  "pinned": {},
  "confirm": {},
  "publish": {},
  "event": {},
  "interaction": {},
  "stats": {},
  "sharing": {},
  "visibility": {},
  "uploading_files": 123,
  "files": [
    {}
  ],
  "permissions": {},
  "comments": {},
  "mentions": [
    {}
  ],
  "group": {},
  "author": {},
  "poll": {},
  "participation": {},
  "translations": {}
}

Path Parameters

content
integer
required

Content ID

Response

200 - application/json

Single post

id
integer
Example:

1

content_type
enum<string>

Type of content

Available options:
news,
debate,
event
Example:

"news"

title
string
Example:

"Important update"

body
string
Example:

"Post body text"

show_in_feed
boolean
Example:

true

important
boolean
Example:

false

actively_requires_action
boolean
Example:

false

mute_rule
integer | null

ID of mute rule/blacklist for current user or null

seen_by_user
boolean

Whether the current user has seen this content

has_unseen_mention
boolean

Whether the current user has unseen mentions in this content

pinned
object

Pin information when content is pinned in feeds

confirm
object

Read confirmation settings and totals

publish
object

Publish metadata including status and timestamps

event
object

Event-specific metadata when content is an event

interaction
object

User-specific interaction flags (seen, liked, read, bookmarked)

stats
object

Aggregated statistics such as comments, likes, reads

sharing
object

Sharing information, including whether and how the content is shared

visibility
object

Visibility information (owner unit, units, user types)

uploading_files
integer

Number of files currently uploading for this content

files
object[]

Attached files for this content

permissions
object

Edit/delete permission flags for the current user

comments
object

Comment settings and counts

mentions
object[]

Mentioned users when loaded

group
object

Group information when content belongs to a group

author
object

Author information for the content

poll
object

Poll configuration when content includes a poll

participation
object

Event participation data (deprecated, mirrored from event.participation)

translations
object

Automatic translation metadata and translated fields