action accept (the default) accepts it; decline ignores it, as the invitation manager's Ignore does (the inviter is not told). Both are writes under the accept daily cap. With shared_secret (from GET /users/invite/received) it is used as given; without it, the invitation must be among the newest 100 received, 404 otherwise.
Your API key from the console (gw_live_…).
In: header
Path Parameters
The invitation's id, id in GET /users/invite/received. An urn:li:invitation:… urn works too (its number is used).
Query Parameters
The LinkedIn account (lg_…) to act as.
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
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 POST "https://example.com/api/v1/users/invite/received/7391827364519283999?account_id=lg_3f9c2a7b1d" \ -H "Content-Type: application/json" \ -d '{ "provider": "LINKEDIN", "account_id": "lg_3f9c2a7b1d", "action": "accept" }'{ "object": "UserInvitationHandled", "status": "DECLINED"}Search companies (Sales Navigator) POST
A Sales Navigator company search URL, or free-text `keywords`. It runs a company search only: any other link (a people or classic search, a Sales Navigator page with no search in it, a blank `query`, a port or user name, over 4,000 characters) is a 400 `bad-request` and nothing runs. Items have `type: COMPANY`; paged like the people search. Needs a Sales Navigator seat (422 `feature_not_subscribed`).
The signed-in member GET
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).