---
title: "Retrieve a post"
method: GET
path: "/api/v1/posts/{post_id}"
tags: ["Posts"]
---

# Retrieve a post

`GET /api/v1/posts/{post_id}`

Retrieve the details of a post.

## Path parameters

- `post_id` string, required

## Query parameters

- `account_id` string, required

## Response `200`

OK. Request succeeded.

- union
  - object
    - `provider` 'LINKEDIN', required
    - `id` string, required — A unique identifier.
    - `social_id` string, required — A unique identifier to be used to add a comment or a reaction to the post.
    - `share_url` string, required
    - `title` string
    - `text` string, required
    - `date` string, required
    - `parsed_datetime` string, required
    - `reaction_counter` number, required
    - `comment_counter` number, required
    - `repost_counter` number, required
    - `impressions_counter` number, required
    - `user_reacted` 'LIKE' | 'PRAISE' | 'APPRECIATION' | 'EMPATHY' | 'INTEREST' | 'ENTERTAINMENT'
    - `author` object, required
      - `public_identifier` union, required
        - string
        - unknown
      - `id` union, required
        - string
        - unknown
      - `name` union, required
        - string
        - unknown
      - `is_company` boolean, required
      - `headline` string
      - `profile_picture_url` string
    - `written_by` object
      - `id` string, required
      - `public_identifier` string, required
      - `name` string, required
    - `permissions` object, required
      - `can_react` boolean, required
      - `can_share` boolean, required
      - `can_post_comments` boolean, required
    - `is_repost` boolean, required
    - `repost_id` string — The republication ID.
    - `reposted_by` object
      - `public_identifier` union, required
        - string
        - unknown
      - `id` union, required
        - string
        - unknown
      - `name` union, required
        - string
        - unknown
      - `is_company` boolean, required
      - `headline` string
      - `profile_picture_url` string
    - `repost_content` object — The post shared in the current publication.
      - `id` string, required — A unique identifier.
      - `date` string, required
      - `parsed_datetime` string, required
      - `author` object, required
        - `public_identifier` union, required
          - string
          - unknown
        - `id` union, required
          - string
          - unknown
        - `name` union, required
          - string
          - unknown
        - `is_company` boolean, required
        - `headline` string
        - `profile_picture_url` string
      - `text` string, required
    - `mentions` object[], required
      - `url` string, required
      - `start` number, required
      - `length` number, required
    - `attachments` union[], required
      - union
        - object
          - `id` string, required
          - `file_size` number
          - `unavailable` boolean, required
          - `mimetype` string
          - `url` string
          - `url_expires_at` number
          - `type` 'img', required
          - `size` object, required
            - `width` number, required
            - `height` number, required
          - `sticker` boolean, required
        - object
          - `id` string, required
          - `file_size` number
          - `unavailable` boolean, required
          - `mimetype` string
          - `url` string
          - `url_expires_at` number
          - `type` 'video', required
          - `size` object, required
            - `width` number, required
            - `height` number, required
          - `gif` boolean, required
        - object
          - `id` string, required
          - `file_size` number
          - `unavailable` boolean, required
          - `mimetype` string
          - `url` string
          - `url_expires_at` number
          - `type` 'audio', required
          - `duration` number
          - `voice_note` boolean, required
        - object
          - `id` string, required
          - `file_size` number
          - `unavailable` boolean, required
          - `mimetype` string
          - `url` string
          - `url_expires_at` number
          - `type` 'file', required
          - `file_name` string, required
        - object
          - `id` string, required
          - `file_size` number
          - `unavailable` boolean, required
          - `mimetype` string
          - `url` string
          - `url_expires_at` number
          - `type` 'linkedin_post', required
        - object
          - `id` string, required
          - `file_size` number
          - `unavailable` boolean, required
          - `mimetype` string
          - `url` string
          - `url_expires_at` number
          - `type` 'video_meeting', required
          - `starts_at` union, required
            - number
            - unknown
          - `expires_at` union, required
            - number
            - unknown
          - `time_range` union, required
            - number
            - unknown
    - `poll` object
      - `id` string, required — A unique identifier.
      - `total_votes_count` number, required
      - `question` string, required
      - `is_open` boolean, required
      - `options` object[], required
        - `id` string, required — A unique identifier.
        - `text` string, required
        - `win` boolean, required
        - `votes_count` number, required
    - `group` object
      - `id` string, required
      - `name` string, required
      - `private` boolean, required
    - `job_posting` object
      - `id` union, required
        - string
        - unknown
      - `title` string, required
      - `location` string, required
      - `company` object, required
        - `id` union, required
          - string
          - unknown
        - `name` union, required
          - string
          - unknown
        - `picture_url` string
    - `article` object
      - `id` union, required
        - string
        - unknown
      - `title` string, required
      - `url` string
      - `author` string
      - `published_at` string
      - `excerpt` string
      - `picture_url` string
    - `analytics` object
      - `impressions` number
      - `engagements` number
      - `engagement_rate` number
      - `clicks` number
      - `clickthrough_rate` number
      - `page_viewers_from_this_post` number
      - `followers_gained_from_this_post` number
      - `members_reached` number
    - `object` 'Post', required
  - object
    - `provider` 'INSTAGRAM', required
    - `provider_id` string, required
    - `has_audio` boolean, required
    - `has_liked` boolean, required
    - `like_count` number, required
    - `comment_count` number, required
    - `like_and_view_counts_disabled` boolean, required
    - `comments_disabled` union, required
      - boolean
      - unknown
    - `accessibility_caption` union, required
      - string
      - unknown
    - `caption` object
      - `edited` boolean, required
      - `has_translation` boolean, required
      - `created_at` number, required
      - `text` string, required
    - `video` object
      - `url` string, required
      - `width` number, required
      - `height` number, required
    - `preview_image` object, required
      - `url` string, required
      - `width` number, required
      - `height` number, required
    - `owner` object, required
      - `id` string, required
      - `username` string, required
      - `profile_pic_url` string, required
      - `is_verified` boolean, required
      - `is_private` boolean, required
    - `location` union, required
      - object
        - `name` string, required
        - `lat` number, required
        - `lng` number, required
      - unknown
    - `object` 'Post', required

## Other responses

- `401` — ## Unauthorized ### Missing credentials - Type: "errors/missing_credentials" Some credentials are necessary to perform the request. ### Multiple sessions - Type: "errors/multiple_sessions" LinkedIn limits the use of multiple sessions on certain Recruiter accounts. This error restricts access to this route only, but causing a popup to appear in the user's browser, prompting them to choose a session, which can disconnect the current account. To avoid this error, use the cookie connection method. ### Wrong account - Type: "errors/wrong_account" The provided credentials do not match the correct account. ### Invalid credentials - Type: "errors/invalid_credentials" The provided credentials are invalid. ### Invalid proxy credentials - Type: "errors/invalid_proxy_credentials" The provided proxy credentials are invalid. ### Invalid IMAP configuration - Type: "errors/invalid_imap_configuration" The provided IMAP configuration is invalid. ### Invalid SMTP configuration - Type: "errors/invalid_smtp_configuration" The provided SMTP configuration is invalid. ### Invalid checkpoint solution - Type: "errors/invalid_checkpoint_solution" The checkpoint resolution did not pass successfully. Please retry. ### Checkpoint error - Type: "errors/checkpoint_error" The checkpoint does not appear to be resolvable. Please try again and contact support if the problem persists. ### Expired credentials - Type: "errors/expired_credentials" Invalid credentials. Please check your username and password and try again. ### Expired link - Type: "errors/expired_link" This link has expired. Please return to the application and generate a new one. ### Insufficient privileges - Type: "errors/insufficient_privileges" This resource seems to be out of your scopes. ### Disconnected account - Type: "errors/disconnected_account" The account appears to be disconnected from the provider service. ### Disconnected feature - Type: "errors/disconnected_feature" The service you're trying to reach appears to be disconnected.
- `403` — ## Forbidden ### Insufficient permissions - Type: "errors/insufficient_permissions" Valid authentication but insufficient permissions to perform the request. ### Account restricted - Type: "errors/account_restricted" Access to this account has been restricted by the provider. ### Account mismatch - Type: "errors/account_mismatch" This action cannot be done with your account. ### Unknown authentication context - Type: "errors/unknown_authentication_context" An additional step seems necessary to complete login. Please connect to provider with your browser to find out more, then retry authentication. ### Session mismatch - Type: "errors/session_mismatch" Token User id does not match client session id. ### Feature not subscribed - Type: "errors/feature_not_subscribed" The requested feature has either not been subscribed or not been authenticated properly. ### Subscription required - Type: "errors/subscription_required" The action you're trying to achieve requires a subscription to provider's services. ### Resource access restricted - Type: "errors/resource_access_restricted" You don't have access to this resource. ### Action required - Type: "errors/action_required" An additional step seems necessary. Complete authentication on the provider's native application and try again.
- `422` — ## Unprocessable Entity ### Invalid account Provided account is not designed for this feature. undefined
- `500` — ## Internal Server Error ### Unexpected error - Type: "errors/unexpected_error" Something went wrong. {{moreDetails}} ### Provider error - Type: "errors/provider_error" The provider is experiencing operational problems. Please try again later. ### Authentication intent error - Type: "errors/authentication_intent_error" The current authentication intent was killed after failure. Please start the process again from the beginning.
- `503` — ## Service Unavailable ### No client session - Type: "errors/no_client_session" No client session is currently running. ### No channel - Type: "errors/no_channel" No channel to client session. ### Handler missing - Type: "errors/no_handler" Handler missing for that request. ### Network down - Type: "errors/network_down" Network is down on server side. Please wait a moment and retry. ### Service unavailable - Type: "errors/service_unavailable" Please try again later.
- `504` — ## Gateway Timeout ### Request timed out - Type: "errors/request_timeout" Request Timeout. Please try again, and if the issue persists, contact support.

---

[API](https://skmtc.net/unipile/apis/unipile-api-reference.md) · [All operations](https://skmtc.net/unipile/apis/unipile-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unipile/unipile-api-reference/revisions/3483a34061f6/schema)
