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

# Get posts leads

> Returns leads (reactions, comments, reshares) for a specific LinkedIn post. Supports filtering by engagement type and minimum follower count.



## OpenAPI

````yaml /api/openapi.json get /linkedin/leads/{profileId}/posts/{postId}
openapi: 3.1.0
info:
  title: Ordinal API
  version: 1.0.0
  description: API to create and manage Ordinal workspaces, posts, profiles, and analytics
servers:
  - url: https://app.tryordinal.com/api/v1
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Analytics
    description: Social media analytics data
  - name: Approvals
    description: Post approval workflows
  - name: Comments
    description: >-
      Post comments for team collaboration. Supports @mentions using the format
      @[Display Name](userId).
  - name: Engagements
    description: Auto-engagements for posts (likes, comments, reposts)
  - name: Invites
    description: Workspace invitations for adding new users
  - name: Labels
    description: Labels for organizing posts
  - name: Instagram
    description: Instagram utilities for location search and tagging
  - name: LinkedIn
    description: LinkedIn utilities for profile lookups, tagging, and mentions
  - name: Posts
    description: Create and manage posts
  - name: Profiles
    description: List connected social profiles
  - name: Slack Boosts
    description: >-
      List connected Slack channels (webhooks), then create and manage slack
      boosts so teams get notified in Slack when posts publish. Requires Slack
      connected with marketing boost channels.
  - name: Subscribers
    description: Post subscribers for notifications
  - name: File Uploads
    description: >-
      Upload files from URLs for use in posts. Supports images (JPEG, PNG, GIF,
      WebP) up to 10 MB and videos (MP4, MOV) up to 350 MB.
  - name: Ideas
    description: >-
      Create and manage content ideas. Ideas are draft posts without scheduled
      dates that can be converted to calendar posts.
  - name: Inline Comments
    description: >-
      Text-anchored comments on specific post content. Read-only API for
      retrieving inline comments across channels.
  - name: Users
    description: Workspace users
  - name: Webhooks
    description: >-
      Create, list, get, update, and delete webhooks to receive real-time event
      notifications
  - name: Workspaces
    description: Workspace information
paths:
  /linkedin/leads/{profileId}/posts/{postId}:
    get:
      tags:
        - LinkedIn Leads
      summary: Get posts leads
      description: >-
        Returns leads (reactions, comments, reshares) for a specific LinkedIn
        post. Supports filtering by engagement type and minimum follower count.
      operationId: linkedin-leads-getLeadsByPost
      parameters:
        - name: profileId
          in: path
          required: true
          description: LinkedIn profile ID (UUID)
          schema:
            type: string
            format: uuid
        - name: postId
          in: path
          required: true
          description: LinkedIn post ID (UUID)
          schema:
            type: string
            format: uuid
        - name: types
          in: query
          description: 'Filter by engagement types (comma-separated: LIKE,COMMENT,RESHARE)'
          schema:
            type: string
        - name: minFollowerCount
          in: query
          description: Filter leads by minimum follower count
          schema:
            type: integer
            minimum: 0
        - name: limit
          in: query
          description: Maximum number of leads to return (1-250)
          schema:
            type: integer
            minimum: 1
            maximum: 250
            default: 100
        - name: cursor
          in: query
          description: Pagination cursor from previous response
          schema:
            type: string
      responses:
        '200':
          description: List of leads for the post
          content:
            application/json:
              schema:
                type: object
                properties:
                  leads:
                    type: array
                    items:
                      $ref: '#/components/schemas/LinkedInLead'
                  nextCursor:
                    type: string
                    nullable: true
                    description: Cursor for fetching the next page
                  hasMore:
                    type: boolean
                    description: Whether more leads are available
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    LinkedInLead:
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
            - LIKE
            - COMMENT
            - RESHARE
        text:
          type: string
          nullable: true
          description: Comment or reshare text (null for likes)
        createdAt:
          type: string
          format: date-time
        author:
          $ref: '#/components/schemas/LinkedInLeadAuthor'
    LinkedInLeadAuthor:
      type: object
      properties:
        firstName:
          type: string
        lastName:
          type: string
        vanityName:
          type: string
        profileUrl:
          type: string
          format: uri
        profileImageUrl:
          type: string
          format: uri
          nullable: true
        headline:
          type: string
          nullable: true
        followerCount:
          type: integer
        currentJob:
          type: object
          nullable: true
          properties:
            title:
              type: string
            organizationName:
              type: string
            organizationIndustry:
              type: string
              nullable: true
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
  responses:
    Unauthorized:
      description: Unauthorized - Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: UNAUTHORIZED
            message: Invalid or unauthorized API key
    Forbidden:
      description: Forbidden - Insufficient permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: FORBIDDEN
            message: Engagement profiles cannot be used for analytics
    NotFound:
      description: Not Found - Resource does not exist
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: NOT_FOUND
            message: Post not found or does not belong to this workspace
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authentication. Generate an API key from your workspace
        settings.

````