Mention format by username
Look up the mention format for a LinkedIn user or organization by their username to use in posts or comments.
The username is the part after /in/ or /company/ in a LinkedIn profile URL:
- Personal profile:
linkedin.com/in/johndoe- username isjohndoe - Company page:
linkedin.com/company/acme-inc- username isacme-inc
Returns both user and organization results if a username matches both (rare but possible).
/linkedin/{username}/mentionsAuthorizationBearer token · headerrequiredAPI key authentication. Generate an API key from your workspace settings.
usernamestringrequiredLinkedIn username (vanity name) to look up
LinkedIn mention information
userobject | nullShow propertiesHide properties
usernamestringLinkedIn username (vanity name)
urnstringLinkedIn URN for the user
typestringUserdisplayNamestringFull display name of the user
firstNamestringFirst name of the user
mentionFormatstringPre-formatted mention string using full name, e.g. @[John Doe](urn:li:person:ABC123)
firstNameMentionFormatstringPre-formatted mention string using first name only, e.g. @[John](urn:li:person:ABC123)
organizationobject | nullShow propertiesHide properties
usernamestringLinkedIn username (vanity name)
urnstringLinkedIn URN for the organization
typestringOrganizationdisplayNamestringDisplay name of the organization
mentionFormatstringPre-formatted mention string, e.g. @[Acme Inc](urn:li:organization:123456)
Unauthorized - Missing or invalid API key
codestringmessagestringNot Found - Resource does not exist
codestringmessagestring