curl --request GET \
--url https://api.tightknit.ai/admin/v0/posts/{post_id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": "w6sy87nsu78w",
"created_at": "2024-02-01 04:04:39.198523+00",
"updated_at": "2024-02-01 04:04:39.198523+00",
"content_created_at": "2024-02-01 04:04:39.198523+00",
"latest_activity_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,
"source": "slack",
"file_attachments_count": 1,
"reactions_count": 10,
"comments_count": 2,
"body_plaintext": "<string>",
"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": "<string>",
"slack_last_name": "<string>",
"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"
},
"body_prosemirror": {},
"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",
"username": "Service Agent",
"icon": "https://example.com/icon.png"
},
"cover_image_file_id": "12345678-90ab-cdef-1234-567890ab",
"cover_image_url": "https://example.com/my-image.png",
"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"
}
]
}
}
}Retrieves a post by ID.
curl --request GET \
--url https://api.tightknit.ai/admin/v0/posts/{post_id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": "w6sy87nsu78w",
"created_at": "2024-02-01 04:04:39.198523+00",
"updated_at": "2024-02-01 04:04:39.198523+00",
"content_created_at": "2024-02-01 04:04:39.198523+00",
"latest_activity_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,
"source": "slack",
"file_attachments_count": 1,
"reactions_count": 10,
"comments_count": 2,
"body_plaintext": "<string>",
"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": "<string>",
"slack_last_name": "<string>",
"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"
},
"body_prosemirror": {},
"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",
"username": "Service Agent",
"icon": "https://example.com/icon.png"
},
"cover_image_file_id": "12345678-90ab-cdef-1234-567890ab",
"cover_image_url": "https://example.com/my-image.png",
"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"
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
12"8x38el2x6di9"
Post details
Post
Show child attributes
"w6sy87nsu78w"
When the post was created
"2024-02-01 04:04:39.198523+00"
When the post was last updated
"2024-02-01 04:04:39.198523+00"
When the source of the content was created (e.g. when the post was written, or when the Slack message was originally sent)
"2024-02-01 04:04:39.198523+00"
When the latest activity on the thread occurred, including the post or any of its comments.
"2024-02-01 04:04:39.198523+00"
"My Post"
"my-post"
"91795199-9d00-47c7-bd6e-d4049bb63451"
The display format of the post detail page
discussion, blog "discussion"
"03ff107d-099f-4426-81a6-a04690d7afz3"
The estimated time to read the post in minutes
5
The source of the Post content, i.e. where it was created
slack, site "slack"
1
10
2
Show child attributes
"03ff107d-099f-4426-81a6-a04690d7afz3"
"2024-02-01 04:04:39.198523+00"
"John D."
"https://example.com/image.png"
"https://example.com/image1024.png"
"https://example.com/image512.png"
"https://example.com/image192.png"
"https://example.com/image72.png"
"https://example.com/image48.png"
"https://example.com/image32.png"
"https://example.com/image24.png"
"John"
"Doe"
"U088HCYD418"
false
false
DEPRECATED: use first_name instead
DEPRECATED: use last_name instead
"https://example.com/image72.png"
"https://example.com/image.png"
Slack Message
Show child attributes
"1519c63a-f8cf-4897-a76e-ef556d5fd915"
The Slack message timestamp
1737338258.891569
The message in Slack blocks format for rich text input element.
Show child attributes
rich_text Show child attributes
rich_text_section [
{
"type": "rich_text",
"elements": [
{
"type": "rich_text_section",
"elements": [{ "text": "Hello, world!", "type": "text" }]
}
]
}
]The Slack message content in mrkdwn format
"This is the message mrkdwn text."
The URL permalink to the Slack message
"https://my-slack-domain.slack.com/archives/C088Q1MG0LZ/p1737340193466182?thread_ts=1737340593.461179&cid=C088Q1MG0LZ"
The ID of the top-most parent Slack message, if this is a threaded reply
"97d5c5d6-d036-4223-9bd3-876a0cf47751"
The username display override for the author of the message, often used by Slack app bots
"Service Agent"
The icon display override for the author of the message, often used by Slack app bots
"https://example.com/icon.png"
The ID of the cover image file
"12345678-90ab-cdef-1234-567890ab"
The URL of the cover image for the post
"https://example.com/my-image.png"
References to external entities mentioned in the contents of the Slack blocks
Show child attributes
The users tagged in the Slack blocks
Show child attributes
The channels at-mentioned in the Slack blocks
Show child attributes
Feed snippet
Show child attributes
The custom emojis used in the Slack blocks
The URLs used in the Slack blocks
Show child attributes
0-indexed order of the URL in the Slack blocks
0
Whether the URL is from media (e.g. image, video) embedded within the Slack blocks, instead of the raw URL appearing directly in text
false
Whether the URL refers to an image
true
Whether the URL refers to a video
false
"https://example.com/tacos.png"
Was this page helpful?