API referenceLinkedin users and invitations
GET
/api/v1/users/following

The people the account follows, in the relations' shape, a page of limit (at most 100), read from LinkedIn 10 at a time with a short pause between. Pass cursor back for the next page; null on the last. The list names each person by provider id only: public_identifier is null and public_profile_url links by provider id; first_name and last_name split the one name LinkedIn shows at its first space; created_at is null.

Authorization

X-API-KEY<token>

Your API key from the console (gw_live_…).

In: header

Query Parameters

account_id*string

The LinkedIn account (lg_…) to act as.

Length1 <= length
limit?integer

People per page, 1 to 100. Default 100.

Range1 <= value <= 100
Default100
cursor?string

The previous page's cursor, as given. Leave it out for the first page.

Response Body

application/json

application/json

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/users/following?account_id=lg_3f9c2a7b1d"
{  "object": "UserRelationsList",  "items": [    {      "object": "UserRelation",      "member_id": "ACoAAB1a2b3c4d5e6f",      "member_urn": "urn:li:fsd_profile:ACoAAB1a2b3c4d5e6f",      "public_identifier": null,      "public_profile_url": "https://www.linkedin.com/in/ACoAAB1a2b3c4d5e6f",      "first_name": "Jane",      "last_name": "Doe",      "headline": "Head of Sales at Example Corp",      "profile_picture_url": "https://media.licdn.com/dms/image/v2/example/profile-displayphoto-shrink_800_800/0/1",      "created_at": null    }  ],  "cursor": "10"}