LinkedIn Mentions
Resolve a LinkedIn username or URL to a member URN for @mentions
Converts a LinkedIn username or profile URL to a member URN that can be used to @mention them in posts.
Accepts either:
- Just the username:
miquelpalet - Full URL:
linkedin.com/in/miquelpalet
IMPORTANT - Display Name Requirement: For person mentions to be clickable, the display name must exactly match what appears on their LinkedIn profile.
- Organization mentions (companies) always work with any display name
- Person mentions require the exact name, so provide the
displayNameparameter
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!API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
The LinkedIn account ID
Query Parameters
LinkedIn profile URL or vanity name (e.g., "miquelpalet" or "https://www.linkedin.com/in/miquelpalet")
The exact display name as shown on the person's LinkedIn profile. Required for clickable person mentions. If not provided, a name is derived from the vanity URL which may not match exactly and the mention may not be clickable.
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",
"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."
}