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

# Sync Social Selling post comments

> Read a tracked post’s metrics and comment threads from LinkedIn now, through the identity that owns the post, and wait for it (up to about a minute). Comments are read at most once every 10 minutes per post: `commentsRead: false` means they were not read this time, because the last read is that recent or because LinkedIn did not answer; `coverage.fetchedAt` says when they were last read (the metrics are refreshed anyway). Then call `list_social_selling_post_comments`. Side effects: LinkedIn reads as the post’s identity and updated metrics; it never writes on LinkedIn.

    > **Required scope:** `SOCIAL_SELLING_READ`
    >
    > **Rate limit:** 30 requests per minute



## OpenAPI

````yaml https://openapi.enginy.ai/definitions.json post /v1/social-selling/posts/{postId}/comments/sync
openapi: 3.1.0
info:
  title: Enginy API
  version: 1.0.0
  description: Public API for Enginy platform
servers:
  - url: https://openapi.enginy.ai
    description: Configured server
security: []
tags:
  - name: AI Variables
    description: >-
      Manage AI variables and discover the entity fields you can reference in
      prompts and entity requests.
  - name: Inbox
    description: >-
      Inbox endpoints for listing contact threads, reading thread messages,
      managing tags, and sending manual replies.
  - name: Workflows
    description: >-
      Build, validate, publish, run, and inspect advanced (graph) workflows,
      plus the block/condition catalog needed to author a workflow plan.
paths:
  /v1/social-selling/posts/{postId}/comments/sync:
    post:
      tags:
        - Social Selling
      summary: Sync Social Selling post comments
      description: >-
        Read a tracked post’s metrics and comment threads from LinkedIn now,
        through the identity that owns the post, and wait for it (up to about a
        minute). Comments are read at most once every 10 minutes per post:
        `commentsRead: false` means they were not read this time, because the
        last read is that recent or because LinkedIn did not answer;
        `coverage.fetchedAt` says when they were last read (the metrics are
        refreshed anyway). Then call `list_social_selling_post_comments`. Side
        effects: LinkedIn reads as the post’s identity and updated metrics; it
        never writes on LinkedIn.

            > **Required scope:** `SOCIAL_SELLING_READ`
            >
            > **Rate limit:** 30 requests per minute
      parameters:
        - schema:
            type: integer
            exclusiveMinimum: 0
            description: Tracked post id (`id` of the posts list).
          required: true
          description: Tracked post id (`id` of the posts list).
          name: postId
          in: path
      responses:
        '200':
          description: The post was read from LinkedIn
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      postId:
                        type: number
                      commentsRead:
                        type: boolean
                      metricsRefreshedAt:
                        type: string
                      reportedCommentsCount:
                        type: number
                      coverage:
                        type: object
                        properties:
                          fetchedAt:
                            type:
                              - string
                              - 'null'
                            description: Last read of the threads from LinkedIn.
                          fetchedCount:
                            type:
                              - number
                              - 'null'
                          reportedCommentsCount:
                            type: number
                            description: LinkedIn’s own comment count (replies included).
                          storedCount:
                            type: number
                          complete:
                            type: boolean
                            description: >-
                              The last read returned every comment LinkedIn
                              reports.
                          stale:
                            type: boolean
                            description: Never read, or read more than 26 hours ago.
                        required:
                          - fetchedAt
                          - fetchedCount
                          - reportedCommentsCount
                          - storedCount
                          - complete
                          - stale
                    required:
                      - postId
                      - commentsRead
                      - metricsRefreshedAt
                      - reportedCommentsCount
                      - coverage
                required:
                  - status
                  - message
                  - data
        '403':
          description: >-
            Social Selling is not enabled for this workspace. Ask your workspace
            admin to enable the feature.
        '404':
          description: >-
            Post not found in this workspace or outside the caller’s identity
            scope
        '503':
          description: Live LinkedIn reads are unavailable in this environment
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````

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