API referenceLinkedin posts
GET
/api/v1/posts/{postId}

One post as the account sees it (its own reaction in user_reacted; impressions_counter for the author only). postId is the activity's number as a link carries it, or a urn:li:activity / ugcPost / share urn. 404 when the account cannot see it.

Authorization

X-API-KEY<token>

Your API key from the console (gw_live_…).

In: header

Path Parameters

postId*string

The post: the activity's number as its link carries it, or a urn:li:activity:…, urn:li:ugcPost:… or urn:li:share:… urn. Anything else answers 400.

Query Parameters

account_id*string

The LinkedIn account (lg_…) to act as.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/posts/7390000000000000000?account_id=lg_3f9c2a7b1d"
{  "object": "Post",  "provider": "LINKEDIN",  "id": "string",  "social_id": "string",  "share_url": "string",  "text": "string",  "date": "2019-08-24T14:15:22Z",  "parsed_datetime": "2019-08-24T14:15:22Z",  "reaction_counter": 0,  "comment_counter": 0,  "repost_counter": 0,  "impressions_counter": 0,  "user_reacted": "string",  "author": {    "public_identifier": "string",    "id": "string",    "name": "string",    "is_company": true,    "headline": "string",    "profile_picture_url": "string"  },  "permissions": {    "can_react": true,    "can_share": true,    "can_post_comments": true  },  "is_repost": true,  "repost_content": {    "id": "string",    "text": "string",    "author": {      "public_identifier": "string",      "id": "string",      "name": "string",      "is_company": true,      "headline": "string",      "profile_picture_url": "string"    },    "date": null,    "parsed_datetime": null,    "attachments": [      null    ]  },  "attachments": [    {      "id": "string",      "type": "img",      "url": "string",      "unavailable": true    }  ]}