Skip to main content
GET
cURL
Needs accounts:read. See Permissions.
LinkedIn never turns a plain “@Name” into a tag when a post comes through its API. A tag is written @[Name](urn:li:person:ID), @[Name](urn:li:organization:ID) or @[Name](urn:li:organizationBrand:ID), with the name exactly as LinkedIn spells it. This search gives you that text in each result’s text: put it in the post’s LinkedIn text as it is (content[].text, or accounts[].settings.title). The LinkedIn mentions guide shows the whole flow. LinkedIn has no search of all its members, so the search looks in these places, in this order: People tagged before and teammates match when their name holds q, in any case. Followers are matched by LinkedIn. A company needs the short name exactly as it is in its link: acme finds linkedin.com/company/acme, Acme Inc doesn’t. Each person or company shows up once, under the first place it was found. The search only reads: what it finds isn’t remembered. LinkedIn gives a person a different id depending on how the account was connected, so a person is returned only with an id that works from this account: search with the account the post goes out from. On every other network a tag goes out as just the name.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

The LinkedIn account the post goes out from.

Query Parameters

q
string
required

A name, or a company's LinkedIn link (linkedin.com/company/acme) or the short name in it (acme). Page followers are searched only when q looks like a name: it starts with a letter, holds only letters, spaces, periods, apostrophes and hyphens with never two non-letters in a row, has at most one space, and is at least 3 characters long (6 when it has a space or a period).

Required string length: 2 - 200
Example:

"jane"

Response

What was found; mentions is [] when nothing was.

mentions
object[]
required

Best first: tagged before, teammates, followers, companies. One entry for each person or company.

needs_reconnect: the account was connected through PostSyncer's older LinkedIn connection and can't search Page followers until it is reconnected in PostSyncer. The other sources still work.

Available options:
available,
needs_reconnect