Resolve LinkedIn mention
Converts a LinkedIn profile or company URL to a URN for @mentions in posts.
How to use LinkedIn @mentions (2-step workflow):
- Call this endpoint with the LinkedIn profile/company URL to get the mention URN and format.
- Embed the returned mentionFormat (e.g. @Vincent Jong) directly in your post's content field.
Example:
- Resolve: GET /v1/accounts/{id}/linkedin-mentions?url=linkedin.com/in/vincentjong&displayName=Vincent Jong
- Returns: mentionFormat: "@Vincent Jong"
- Use in post content: "Great talk with @Vincent Jong today!"
Important: The mentions array field in POST /v1/posts is stored for reference only and does NOT trigger @mentions on LinkedIn. You must embed the mention format directly in the content text.
Requirements:
- Person mentions require the LinkedIn account to be admin of at least one organization: both endpoints that resolve a profile URL to a member URN take an organization you administer. Organization mentions (e.g. @Microsoft) have no such requirement.
- The two are not scoped alike. peopleTypeahead?q=organizationFollowers only returns that organization's followers; vanityUrl?q=vanityUrlAsOrganization does not, and its resolvable set is opaque. A 404 here does not mean the person is unknown to you or unknown to LinkedIn: a live public profile can 404 with no reason given.
- For person mentions to be clickable, the displayName parameter must exactly match the name shown on their LinkedIn profile.
- Person mentions DO work when published from personal profiles (the URN just needs to be valid). The limitation is only in the resolution step (URL to URN), not in publishing.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
The LinkedIn account ID
Query Parameters
LinkedIn profile URL, company URL, or vanity name.
Exact display name as shown on LinkedIn. Required for person mentions to be clickable. Optional for org mentions.
Response Body
application/json
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accounts.getLinkedInMentions({ path: { accountId: 'account_abc123', }, query: { url: 'https://example.com', },});console.log(data);{
"urn": "urn:li:person:4qj5ox-agD",
"type": "person",
"displayName": "Miquel Palet",
"mentionFormat": "@[Miquel Palet](urn:li:person:4qj5ox-agD)"
}{
"error": "url parameter is required"
}{
"error": "Unauthorized"
}{
"error": "LinkedIn blocked this lookup. Your account has no company page where it can create posts, which LinkedIn requires to resolve a person's profile URL. Ask for an Admin or Content Admin role on one of your pages, or mention a company instead."
}{
"error": "LinkedIn couldn't resolve this profile. Not every profile is resolvable through LinkedIn's API, even public ones, and LinkedIn gives no reason. Check the profile address is current (people can change theirs), or mention a company instead."
}List Slack workspace members GET
Members of the connected Slack workspace that can receive a direct message, for populating a recipient picker. Bots, deactivated members and Slackbot are excluded. Start a DM by passing a member id as `participantId` to POST /v1/inbox/conversations.
Search posts GET
Search Reddit posts using a connected account. Optionally scope to a specific subreddit.