---
title: "Get social post comments"
method: GET
path: "/social/post/{post_id}/comments"
tags: ["Social"]
---

# Get social post comments

`GET /social/post/{post_id}/comments`

## Request

- Base URL: `https://api.mosaic.so`
- URL: `https://api.mosaic.so/social/post/{post_id}/comments`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Get comments for a published social post. Comments and nested replies are sorted by created_at descending; top-level comments are sorted before pagination.

## Path parameters

- `post_id` string, required

## Query parameters

- `social_connection_id` string, uuid
- `limit` integer
- `cursor` string

## Response `200`

Social post comments

- SocialPostCommentsResponse
  - `post_id` string, required
  - `platform` 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube', nullable, required
  - `social_connection_id` string, uuid, nullable, required
  - `comments` SocialComment[], required
    - `comment_id` string, nullable, required
    - `platform_comment_id` string, nullable, required
    - `platform` 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube', nullable, required
    - `social_connection_id` string, uuid, nullable, required
    - `text` string, nullable, required
    - `created_at` string, nullable, required: Creation timestamp. Null when the source response does not include it.
    - `comment_url` string, uri, nullable, required: Direct comment URL. Null when the source response does not include it.
    - `like_count` number, nullable, required: Like count. Null when the source response does not include it.
    - `reply_count` number, nullable, required: Reply count. Null when the source response does not include it.
    - `parent_comment_id` string, nullable, required: Parent comment ID for replies. Null for top-level comments or when the source response does not include it.
    - `author` SocialCommentAuthor, required
      - `id` string, nullable, required
      - `name` string, nullable, required
      - `username` string, nullable, required
      - `profile_url` string, uri, nullable, required
      - `profile_image_url` string, uri, nullable, required
    - `replies` SocialComment[], required
    - `raw` object, nullable, required: Unnormalized platform-specific comment payload.
    - `media` SocialCommentMedia[], required
      - `type` 'image' | 'video' | 'gif' | 'audio' | 'document' | 'unknown', required
      - `url` string, uri, nullable, required
      - `thumbnail_url` string, uri, nullable, required
      - `mime_type` string, nullable, required
      - `alt_text` string, nullable, required
      - `raw` object, required
  - `metadata` object, required
  - `pagination` SocialCommentsPagination, required
    - `limit` integer, required
    - `returned` integer, required
    - `total_available` integer, required
    - `has_more` boolean, required
    - `next_cursor` string, nullable, required
    - `sort` 'created_at_desc', required: Comments and nested replies are sorted by created_at descending. Comments without created_at sort after comments with timestamps; ties sort by platform, comment_id, and platform_comment_id. Top-level comments are sorted before pagination.

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Access denied
- `404`: Resource not found

---

[API](https://skmtc.dev/mosaic/apis/mosaic-ai-api.md) - [All operations](https://skmtc.dev/mosaic/apis/mosaic-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mosaic/apis/mosaic-ai-api/revisions/c20e9fc606a4?raw)
