> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a Bluesky comment thread

> Get a Bluesky comment thread via Posttu's Bluesky REST API (POST /api/v1/bluesky/posts/comments/get) and MCP server.

> [!NOTE]
>
> Looking for a unified API across all platforms? Posttu also provides a centralized [Inbox API](https://docs.posttu.com/api-reference/inbox/overview.md) (`/api/v1/inbox/*`) supporting comments, direct messages, replies, likes, and moderation in a single endpoint.


## OpenAPI

````yaml openapi.json POST /api/v1/bluesky/posts/comments/get
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/bluesky/posts/comments/get:
    post:
      tags:
        - Bluesky
      summary: Get a Bluesky comment thread
      description: |-
        Get a Bluesky comment thread
        Requires API key scope: `bluesky:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BlueskyGetCommentsInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlueskyPostCommentGetResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    BlueskyGetCommentsInput:
      type: object
      properties:
        channelId:
          type: string
          description: Bluesky channel ID
          example: ch_bs123
        externalPostId:
          type: string
          description: Bluesky post URI
        depth:
          type: number
        directRepliesOnly:
          type: boolean
      required:
        - channelId
        - externalPostId
    BlueskyPostCommentGetResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/BlueskyPostView'
          description: The BlueskyPostView[].
      required:
        - success
        - data
    BlueskyPostView:
      type: object
      properties:
        uri:
          type: string
        cid:
          type: string
        author:
          $ref: '#/components/schemas/BlueskyProfile'
        record:
          type: object
          additionalProperties: {}
        embed: {}
        replyCount:
          type: number
        repostCount:
          type: number
        likeCount:
          type: number
        quoteCount:
          type: number
        bookmarkCount:
          type: number
        indexedAt:
          type: string
        labels:
          type: array
          items: {}
      additionalProperties: {}
    BlueskyProfile:
      type:
        - object
        - 'null'
      properties:
        did:
          type: string
        handle:
          type: string
        displayName:
          type: string
        description:
          type: string
        avatar:
          type: string
        banner:
          type: string
        followersCount:
          type: number
        followsCount:
          type: number
        postsCount:
          type: number
        associated: {}
        labels:
          type: array
          items: {}
        indexedAt:
          type: string
        createdAt:
          type: string
      additionalProperties: {}
      description: The BlueskyProfile.
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.