Zernio
APIFor you
Zernio
APIFor you
API Reference

LinkedIn Mentions

Resolve LinkedIn mentionGET
Dashboard
OverviewPlatformsAPI ReferenceResources
LinkedIn Mentions

Resolve LinkedIn mention

Converts a LinkedIn profile or company URL to a URN for @mentions in posts.

You usually do not need this endpoint. Put the profile or company URL inside @[...] in the post content (for example @[https://www.linkedin.com/in/vincentjong]) and the post resolves it for you, using LinkedIn's own name. Use this endpoint to preview what a URL resolves to, or to get ready-made @[Name](urn) markup, which still works in content and is published exactly as written.

Example:

  • Resolve: GET /v1/accounts/{id}/linkedin-mentions?url=linkedin.com/in/vincentjong
  • 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. Write the mention in the content text.

Requirements:

  • Resolving a profile URL to a person mention requires 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. A resolved person mention publishes from any account. 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.
  • displayName is deprecated and ignored in practice: the endpoint reads the person's real name from LinkedIn itself. LinkedIn renders a person mention as a link only when the mention text is the person's first name, last name or full name (case-sensitive).
  • Person mentions DO work when published from personal profiles (the URN only needs to be valid). The limitation is only in the resolution step (URL to URN), not in publishing.

GET
/v1/accounts/{accountId}/linkedin-mentions

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

accountId*string

The LinkedIn account ID

Query Parameters

url*string

LinkedIn profile URL, company URL, or vanity name.

displayName?string
Deprecated

Deprecated: omit it. When sent for a person it overrides the mention text, and LinkedIn renders the mention only if it is exactly the person's first name, last name or full name (case-sensitive). When omitted the real name is read from LinkedIn. Ignored for org mentions, which always use the organization's LinkedIn name.

Response Body

application/json

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)"}

Was this page helpful?

List Slack workspace members

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

Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Search Reddit posts using a connected account. Optionally scope to a specific subreddit.