LateLate API
Utilities

LinkedIn Mentions


Resolve a LinkedIn profile or company URL to a URN for @mentions

Converts a LinkedIn profile URL (person) or company page URL (organization) to a URN that can be used to @mention them in posts.

Supports both:

  • Person mentions: linkedin.com/in/username or just username
  • Organization mentions: linkedin.com/company/company-name or company/company-name

⚠️ Organization Admin Required for Person Mentions Only: Person mentions require the connected LinkedIn account to have admin access to at least one LinkedIn Organization (Company Page). Organization mentions do NOT have this requirement - any LinkedIn account can tag companies.

IMPORTANT - Display Name Requirement: For person mentions to be clickable, the display name must exactly match what appears on their LinkedIn profile.

  • Organization mentions automatically retrieve the company name from LinkedIn API
  • Person mentions require the exact name, so provide the displayName parameter

Mention Format: Use the returned mentionFormat value directly in your post content:

Great insights from @[Miquel Palet](urn:li:person:4qj5ox-agD) on this topic!
Excited to partner with @[Microsoft](urn:li:organization:1035)!
GET
/v1/accounts/{accountId}/linkedin-mentions
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring

The LinkedIn account ID

Query Parameters

urlstring

LinkedIn profile URL, company URL, or vanity name.

  • Person: miquelpalet, linkedin.com/in/miquelpalet
  • Organization: company/microsoft, linkedin.com/company/microsoft
displayName?string

The exact display name as shown on LinkedIn.

  • Person mentions: Required for clickable mentions. If not provided, a name is derived from the vanity URL which may not match exactly.
  • Organization mentions: Optional. If not provided, the company name is automatically retrieved from LinkedIn.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://getlate.dev/api/v1/accounts/string/linkedin-mentions?url=string"

{
  "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": "Member not found. Check the LinkedIn URL is correct."
}