Skip to main content
GET
/
linkedin
/
leads
/
{profileId}
/
posts
/
{postId}
Get posts leads
curl --request GET \
  --url https://app.tryordinal.com/api/v1/linkedin/leads/{profileId}/posts/{postId} \
  --header 'Authorization: Bearer <token>'
{
  "leads": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "LIKE",
      "text": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "author": {
        "firstName": "<string>",
        "lastName": "<string>",
        "vanityName": "<string>",
        "profileUrl": "<string>",
        "profileImageUrl": "<string>",
        "headline": "<string>",
        "followerCount": 123,
        "currentJob": {
          "title": "<string>",
          "organizationName": "<string>",
          "organizationIndustry": "<string>"
        }
      }
    }
  ],
  "nextCursor": "<string>",
  "hasMore": true
}

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.

Authorizations

Authorization
string
header
required

API key authentication. Generate an API key from your workspace settings.

Path Parameters

profileId
string<uuid>
required

LinkedIn profile ID (UUID)

postId
string<uuid>
required

LinkedIn post ID (UUID)

Query Parameters

types
string

Filter by engagement types (comma-separated: LIKE,COMMENT,RESHARE)

minFollowerCount
integer

Filter leads by minimum follower count

Required range: x >= 0
limit
integer
default:100

Maximum number of leads to return (1-250)

Required range: 1 <= x <= 250
cursor
string

Pagination cursor from previous response

Response

List of leads for the post

leads
object[]
nextCursor
string | null

Cursor for fetching the next page

hasMore
boolean

Whether more leads are available