> ## 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.

# Get Social Selling publication status

> The recorded outcome of a scheduled or published post: SCHEDULED, PUBLISHING, PUBLISHED (with the live LinkedIn URL and URN), FAILED (with the error), UNCERTAIN (the provider call ended without a readable answer, or the publish time passed with no outcome: check the identity’s feed before any retry) or CANCELLED, plus its first comment (QUEUED, PENDING_APPROVAL, POSTED with its URN, …) and the tracked post once synced. Works for posts scheduled from drafts, the app or `schedule_a_social_selling_post`. Read-only.

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



## OpenAPI

````yaml https://openapi.enginy.ai/definitions.json get /v1/social-selling/publications/{publishingPostId}
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/publications/{publishingPostId}:
    get:
      tags:
        - Social Selling
      summary: Get Social Selling publication status
      description: >-
        The recorded outcome of a scheduled or published post: SCHEDULED,
        PUBLISHING, PUBLISHED (with the live LinkedIn URL and URN), FAILED (with
        the error), UNCERTAIN (the provider call ended without a readable
        answer, or the publish time passed with no outcome: check the identity’s
        feed before any retry) or CANCELLED, plus its first comment (QUEUED,
        PENDING_APPROVAL, POSTED with its URN, …) and the tracked post once
        synced. Works for posts scheduled from drafts, the app or
        `schedule_a_social_selling_post`. Read-only.

            > **Required scope:** `SOCIAL_SELLING_READ`
            >
            > **Rate limit:** 100 requests per minute
      parameters:
        - schema:
            type: integer
            exclusiveMinimum: 0
          required: true
          name: publishingPostId
          in: path
      responses:
        '200':
          description: The publication
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      publishingPostId:
                        type: number
                      draftId:
                        type:
                          - number
                          - 'null'
                      draftVersion:
                        type:
                          - number
                          - 'null'
                      identityId:
                        type:
                          - number
                          - 'null'
                      status:
                        type: string
                        enum:
                          - SCHEDULED
                          - PUBLISHING
                          - PUBLISHED
                          - FAILED
                          - UNCERTAIN
                          - CANCELLED
                        description: >-
                          PUBLISHED only once LinkedIn returned the post.
                          UNCERTAIN: the provider call ended without a readable
                          answer or the time passed with no outcome — check the
                          feed, never blindly retry.
                      scheduledAt:
                        type:
                          - string
                          - 'null'
                      publishedAt:
                        type:
                          - string
                          - 'null'
                      linkedinUrl:
                        type:
                          - string
                          - 'null'
                      linkedinPostUrn:
                        type:
                          - string
                          - 'null'
                      trackedPostId:
                        type:
                          - number
                          - 'null'
                        description: Set once the sync tracks it (metrics, comments).
                      error:
                        type:
                          - string
                          - 'null'
                      firstComment:
                        type:
                          - object
                          - 'null'
                        properties:
                          scheduledCommentId:
                            type: number
                          status:
                            type: string
                            enum:
                              - QUEUED
                              - PENDING_APPROVAL
                              - POSTED
                              - REJECTED
                              - CANCELLED
                          commentUrn:
                            type:
                              - string
                              - 'null'
                        required:
                          - scheduledCommentId
                          - status
                          - commentUrn
                      appUrl:
                        type: string
                    required:
                      - publishingPostId
                      - draftId
                      - draftVersion
                      - identityId
                      - status
                      - scheduledAt
                      - publishedAt
                      - linkedinUrl
                      - linkedinPostUrn
                      - trackedPostId
                      - error
                      - firstComment
                      - appUrl
                required:
                  - status
                  - message
                  - data
        '403':
          description: >-
            Social Selling is not enabled for this workspace. Ask your workspace
            admin to enable the feature.
        '404':
          description: >-
            Publication not found in this workspace or outside the caller’s
            identity scope
      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.