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

# List Social Selling events

> The Social Selling event log, oldest first after a cursor: PUBLICATION_SUCCEEDED / PUBLICATION_FAILED (a scheduled post’s outcome), COMMENT_RECEIVED / REPLY_RECEIVED / MENTION_RECEIVED (new comments seen by a sync), METRICS_REFRESHED. Store `nextCursor` and pass it as `after` next time: each event comes exactly once, none is skipped (an event is listed once it is about 10 seconds old, so a cursor never passes one still being written). Every event has a stable `id`, `occurredAt` (LinkedIn time) and `observedAt` (when Enginy saw it). Users restricted to identities only see their identities’ events. Read-only; up to 200 per call.

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



## OpenAPI

````yaml https://openapi.enginy.ai/definitions.json get /v1/social-selling/events
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/events:
    get:
      tags:
        - Social Selling
      summary: List Social Selling events
      description: >-
        The Social Selling event log, oldest first after a cursor:
        PUBLICATION_SUCCEEDED / PUBLICATION_FAILED (a scheduled post’s outcome),
        COMMENT_RECEIVED / REPLY_RECEIVED / MENTION_RECEIVED (new comments seen
        by a sync), METRICS_REFRESHED. Store `nextCursor` and pass it as `after`
        next time: each event comes exactly once, none is skipped (an event is
        listed once it is about 10 seconds old, so a cursor never passes one
        still being written). Every event has a stable `id`, `occurredAt`
        (LinkedIn time) and `observedAt` (when Enginy saw it). Users restricted
        to identities only see their identities’ events. Read-only; up to 200
        per call.

            > **Required scope:** `SOCIAL_SELLING_READ`
            >
            > **Rate limit:** 100 requests per minute
      parameters:
        - schema:
            type:
              - integer
              - 'null'
            minimum: 0
            description: >-
              Cursor: the `nextCursor` of the previous call (an event id).
              Absent = from the oldest event kept.
          required: false
          description: >-
            Cursor: the `nextCursor` of the previous call (an event id). Absent
            = from the oldest event kept.
          name: after
          in: query
        - schema:
            type:
              - array
              - 'null'
            items:
              type: string
              enum:
                - PUBLICATION_SUCCEEDED
                - PUBLICATION_FAILED
                - COMMENT_RECEIVED
                - REPLY_RECEIVED
                - MENTION_RECEIVED
                - METRICS_REFRESHED
            minItems: 1
            description: Comma-separated event types to keep.
          required: false
          description: Comma-separated event types to keep.
          name: types
          in: query
        - schema:
            type:
              - array
              - 'null'
            items:
              type: integer
              exclusiveMinimum: 0
            minItems: 1
          required: false
          name: identityIds
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
          required: false
          name: limit
          in: query
      responses:
        '200':
          description: Events after the cursor
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      items:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: number
                            type:
                              type: string
                              enum:
                                - PUBLICATION_SUCCEEDED
                                - PUBLICATION_FAILED
                                - COMMENT_RECEIVED
                                - REPLY_RECEIVED
                                - MENTION_RECEIVED
                                - METRICS_REFRESHED
                            identityId:
                              type:
                                - number
                                - 'null'
                            occurredAt:
                              type: string
                            observedAt:
                              type: string
                            payload:
                              type: object
                              additionalProperties: {}
                              description: >-
                                Ids to act on: `publishingPostId`,
                                `trackedPostId`, `commentUrn`,
                                `parentCommentUrn`, `linkedinUrl`, `error`, …
                          required:
                            - id
                            - type
                            - identityId
                            - occurredAt
                            - observedAt
                            - payload
                      nextCursor:
                        type:
                          - number
                          - 'null'
                      hasMore:
                        type: boolean
                    required:
                      - items
                      - nextCursor
                      - hasMore
                required:
                  - status
                  - message
                  - data
        '403':
          description: >-
            Social Selling is not enabled for this workspace. Ask your workspace
            admin to enable the feature.
      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.