Feeds
Get posts of a Feed
Gets posts of a Feed.
GET
/
admin
/
v0
/
feeds
/
{feed_id}
/
posts
{
"success": true,
"data": {
"page": 0,
"per_page": 10,
"count": 10,
"total_records": 100,
"total_pages": 10,
"has_next": true,
"records": [
{
"id": "w6sy87nsu78w",
"created_at": "2024-02-01 04:04:39.198523+00",
"updated_at": "2024-02-01 04:04:39.198523+00",
"title": "My Post",
"slug": "my-post",
"feed_id": "91795199-9d00-47c7-bd6e-d4049bb63451",
"post_detail_display_format": "discussion",
"author_profile_id": "03ff107d-099f-4426-81a6-a04690d7afz3",
"read_time_minutes": 5,
"file_attachments_count": 1,
"reactions_count": 10,
"comments_count": 2,
"slack_message": {
"id": "1519c63a-f8cf-4897-a76e-ef556d5fd915",
"message_ts": 1737338258.891569,
"blocks": [
{
"type": "rich_text",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"text": "Hello, world!",
"type": "text"
}
]
}
]
}
],
"markdown": "This is the message mrkdwn text.",
"permalink": "https://my-slack-domain.slack.com/archives/C088Q1MG0LZ/p1737340193466182?thread_ts=1737340593.461179&cid=C088Q1MG0LZ",
"parent_slack_message_id": "97d5c5d6-d036-4223-9bd3-876a0cf47751"
},
"cover_image_file_id": "12345678-90ab-cdef-1234-567890ab",
"cover_image_url": "https://example.com/my-image.png",
"author": {
"profile_id": "03ff107d-099f-4426-81a6-a04690d7afz3",
"created_at": "2024-02-01 04:04:39.198523+00",
"preferred_name": "John D.",
"preferred_image_original": "https://example.com/image.png",
"preferred_image_1024": "https://example.com/image1024.png",
"preferred_image_512": "https://example.com/image512.png",
"preferred_image_192": "https://example.com/image192.png",
"preferred_image_72": "https://example.com/image72.png",
"preferred_image_48": "https://example.com/image48.png",
"preferred_image_32": "https://example.com/image32.png",
"preferred_image_24": "https://example.com/image24.png",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"slack_user_id": "U088HCYD418",
"slack_is_admin": false,
"slack_is_bot": false,
"slack_first_name": "John",
"slack_last_name": "Doe",
"slack_image_72": "https://example.com/image72.png",
"slack_image_original": "https://example.com/image.png"
},
"feed": {
"id": "91795199-9d00-47c7-bd6e-d4049bb63451",
"label": "My Feed",
"slug": "my-feed"
},
"references": {
"mentioned_slack_users": [
{
"profile_id": "03ff107d-099f-4426-81a6-a04690d7afz3",
"preferred_name": "John D.",
"slack_user_id": "U088HCYD418"
}
],
"mentioned_slack_channels": [
{
"slack_channel": {
"id": "C088TB6CRL4",
"name": "general"
},
"feed": {
"id": "91795199-9d00-47c7-bd6e-d4049bb63451",
"label": "My Feed",
"slug": "my-feed"
}
}
],
"custom_emojis": [
{
"alias": "<string>",
"name": "wow",
"url": "https://example.com/wow.png"
}
],
"urls": [
{
"order_seen": 0,
"is_embedded_media": false,
"is_image": true,
"is_video": false,
"url": "https://example.com/tacos.png"
}
]
}
}
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the Feed, or the string "home" for the Home feed. The ID of the Feed
Example:
"home"
Query Parameters
The page number (0-indexed)
Example:
0
The number of records per page
Example:
10
Sort the posts by the specified method. If no sort specified, posts are sorted by newest first.
Available options:
oldest
, newest
, most-recent-activity
Example:
"newest"
Response
200
application/json
Gets a list of Posts in the Feed
The response is of type object
.
Was this page helpful?
{
"success": true,
"data": {
"page": 0,
"per_page": 10,
"count": 10,
"total_records": 100,
"total_pages": 10,
"has_next": true,
"records": [
{
"id": "w6sy87nsu78w",
"created_at": "2024-02-01 04:04:39.198523+00",
"updated_at": "2024-02-01 04:04:39.198523+00",
"title": "My Post",
"slug": "my-post",
"feed_id": "91795199-9d00-47c7-bd6e-d4049bb63451",
"post_detail_display_format": "discussion",
"author_profile_id": "03ff107d-099f-4426-81a6-a04690d7afz3",
"read_time_minutes": 5,
"file_attachments_count": 1,
"reactions_count": 10,
"comments_count": 2,
"slack_message": {
"id": "1519c63a-f8cf-4897-a76e-ef556d5fd915",
"message_ts": 1737338258.891569,
"blocks": [
{
"type": "rich_text",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"text": "Hello, world!",
"type": "text"
}
]
}
]
}
],
"markdown": "This is the message mrkdwn text.",
"permalink": "https://my-slack-domain.slack.com/archives/C088Q1MG0LZ/p1737340193466182?thread_ts=1737340593.461179&cid=C088Q1MG0LZ",
"parent_slack_message_id": "97d5c5d6-d036-4223-9bd3-876a0cf47751"
},
"cover_image_file_id": "12345678-90ab-cdef-1234-567890ab",
"cover_image_url": "https://example.com/my-image.png",
"author": {
"profile_id": "03ff107d-099f-4426-81a6-a04690d7afz3",
"created_at": "2024-02-01 04:04:39.198523+00",
"preferred_name": "John D.",
"preferred_image_original": "https://example.com/image.png",
"preferred_image_1024": "https://example.com/image1024.png",
"preferred_image_512": "https://example.com/image512.png",
"preferred_image_192": "https://example.com/image192.png",
"preferred_image_72": "https://example.com/image72.png",
"preferred_image_48": "https://example.com/image48.png",
"preferred_image_32": "https://example.com/image32.png",
"preferred_image_24": "https://example.com/image24.png",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"slack_user_id": "U088HCYD418",
"slack_is_admin": false,
"slack_is_bot": false,
"slack_first_name": "John",
"slack_last_name": "Doe",
"slack_image_72": "https://example.com/image72.png",
"slack_image_original": "https://example.com/image.png"
},
"feed": {
"id": "91795199-9d00-47c7-bd6e-d4049bb63451",
"label": "My Feed",
"slug": "my-feed"
},
"references": {
"mentioned_slack_users": [
{
"profile_id": "03ff107d-099f-4426-81a6-a04690d7afz3",
"preferred_name": "John D.",
"slack_user_id": "U088HCYD418"
}
],
"mentioned_slack_channels": [
{
"slack_channel": {
"id": "C088TB6CRL4",
"name": "general"
},
"feed": {
"id": "91795199-9d00-47c7-bd6e-d4049bb63451",
"label": "My Feed",
"slug": "my-feed"
}
}
],
"custom_emojis": [
{
"alias": "<string>",
"name": "wow",
"url": "https://example.com/wow.png"
}
],
"urls": [
{
"order_seen": 0,
"is_embedded_media": false,
"is_image": true,
"is_video": false,
"url": "https://example.com/tacos.png"
}
]
}
}
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.