---
search:
  tags:
    - LinkedIn Leads
    - GET
seo:
  description: >-
    Returns all LinkedIn posts for a profile with scraped lead counts… Reference
    for the GET /linkedin/leads/{profileId}/posts endpoint in the Ordinal API.
sidebar:
  label: List posts
  badge: GET
title: List posts
type: openapi-operation
---
Returns all LinkedIn posts for a profile with scraped lead counts (reactions, comments, reshares). Supports pagination and filtering by date range. Requires leads scraping to be enabled for the profile.

`GET /linkedin/leads/{profileId}/posts`

**Responses**

- `200` — List of LinkedIn posts with lead counts
- `401` — Unauthorized - Missing or invalid API key
- `403` — Forbidden - Insufficient permissions
- `404` — Not Found - Resource does not exist

Response example, 200:

```json
{
  "posts": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "url": "http://example.com",
      "commentary": "string",
      "publishedAt": "2019-08-24T14:15:22Z",
      "likeCount": 0,
      "commentCount": 0,
      "shareCount": 0,
      "scrapedLeadsCount": {
        "reactions": 0,
        "comments": 0,
        "reshares": 0
      }
    }
  ],
  "nextCursor": "string",
  "hasMore": true
}
```

Response example, 401:

```json
{
  "code": "UNAUTHORIZED",
  "message": "Invalid or unauthorized API key"
}
```

Response example, 403:

```json
{
  "code": "FORBIDDEN",
  "message": "Engagement profiles cannot be used for analytics"
}
```

Response example, 404:

```json
{
  "code": "NOT_FOUND",
  "message": "Post not found or does not belong to this workspace"
}
```
