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

The account's own profile and plans. Cached for an hour; a plan bought or ended shows within it (and as a gateway.plan_changed event).

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

Response Body

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/me?account_id=lg_3f9c2a7b1d"
{  "object": "AccountOwnerProfile",  "provider": "LINKEDIN",  "provider_id": "ACoAAB1a2b3c4d5e6f",  "entity_urn": "urn:li:fsd_profile:ACoAAB1a2b3c4d5e6f",  "public_identifier": "jane-doe",  "first_name": "Jane",  "last_name": "Doe",  "name": "Jane Doe",  "headline": "Head of Sales at Example Corp",  "occupation": "Head of Sales at Example Corp",  "profile_picture_url": null,  "profile_url": "https://www.linkedin.com/in/jane-doe",  "premium": true,  "premium_features": [    "premium",    "sales_navigator"  ]}