List a profile's LinkedIn posts

Posts on the profile's own feed, published from here or read from LinkedIn, newest first, with the latest metrics LinkedIn returned. A metric it did not return is null, never zero. Covers the 100 most recent posts.

GEThttps://app.trygtm.com/api/v1/linkedin/profiles/{profile_id}/posts
Scope
read

Path parameters

profile_idstringrequired
The managed profile's id, from list_linkedin_profiles.

Query parameters

originstringoptional
Only posts published from here, or only posts read from LinkedIn.created_hereimported
limitintegeroptionaldefault: 20
Rows per page, 1 to 50.
cursorstringoptional
Opaque cursor from the previous page's nextCursor. Omit for the first page. Keep every other argument the same while paging.

Request

curl -G https://app.trygtm.com/api/v1/linkedin/profiles/8f2a91c4-6d1e-4c0a-9a57-2f3b1c7e9d10/posts \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  --data-urlencode "limit=25"

Response

{
  "data": [
    {
      "id": "0c1d2e3f-4a5b-4c6d-8e7f-8a9b0c1d2e3f",
      "post_id": "0c1d2e3f-4a5b-4c6d-8e7f-8a9b0c1d2e3f",
      "origin": "created_here",
      "provider_url": "https://www.linkedin.com/feed/update/example",
      "text": "Three things we changed after our first 40 onboarding calls.",
      "posted_at": "2026-09-30T14:00:12.000Z",
      "external_state": "present",
      "item_id": "2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a",
      "latest": {
        "observed_at": "2026-10-01T14:00:00.000Z",
        "impressions": null,
        "reactions": 42,
        "comments": 7,
        "reposts": 2,
        "clicks": null
      }
    }
  ],
  "next_cursor": "WyIyMDI2LTA5LTAyVDA5OjQxOjAyLjAwMFoiLCI4ZjJhOTFjNC02ZDFlLTRjMGEtOWE1Ny0yZjNiMWM3ZTlkMTAiXQ"
}

Was this page helpful?