---
title: "Retrieve a post"
method: GET
path: "/social/{connection_id}/post/{id}"
tags: ["social", "post"]
---

# Retrieve a post

`GET /social/{connection_id}/post/{id}`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/social/{connection_id}/post/{id}`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Response `200`

Successful

- SocialPost
  - `id` string: Unique identifier for the post
  - `created_at` string, date-time: When the post was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: When the post was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `profile_id` string: The social profile (page/handle/listing) that owns this post
  - `parent_post_id` string: The post this one replies to or references
  - `title` string: Optional post title/headline
  - `body` string: The main text content of the post
  - `status` 'DRAFT' | 'SCHEDULED' | 'PUBLISHED' | 'REJECTED' | 'PROCESSING' | 'DELETED' | 'OTHER': Publication status of the post
  - `type` 'POST' | 'REPLY' | 'REPOST' | 'QUOTE' | 'EVENT' | 'OFFER' | 'ALERT' | 'STORY' | 'OTHER': The kind of post
  - `media` SocialMedia[]: Media assets attached to the post
    - `id` string: Provider media id, when the media is individually addressable
    - `url` string, required: URL of the media asset
    - `alt` string: Accessibility caption / alt text
    - `type` 'PHOTO' | 'VIDEO' | 'GIF' | 'OTHER': Type of media
    - `height` number: Media height in pixels
    - `width` number: Media width in pixels
    - `position` number: Ordering of the media within the post; 1 is the first
  - `url` string: Public permalink to the post
  - `language` string: Language code of the post content
  - `scheduled_at` string, date-time: When the post is scheduled to publish (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `call_to_action` SocialPostCallToAction: Call-to-action button on the post
    - `type` 'BOOK' | 'ORDER' | 'SHOP' | 'LEARN_MORE' | 'SIGN_UP' | 'CALL' | 'OTHER': The call-to-action button type
    - `url` string: The URL the call-to-action points to
  - `metrics` SocialPostMetrics: Engagement metrics for the post
    - `like_count` number: Number of likes/reactions
    - `comment_count` number: Number of comments/replies
    - `share_count` number: Number of shares/reposts
    - `quote_count` number: Number of quotes
    - `view_count` number: Number of views/impressions
    - `bookmark_count` number: Number of bookmarks/saves
  - `metadata` SocialMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
