Overview
LinkedIn uses a special mention format to tag people and companies in posts and comments. Unlike platforms like Twitter where you can simply use@username, LinkedIn requires a specific format that includes the account’s URN (Uniform Resource Name).
Mention Format
To mention someone on LinkedIn, use this format in yourcopy field:
- Person:
@[John Doe](urn:li:person:ABC123xyz) - Company:
@[Acme Inc](urn:li:organization:123456)
Finding URNs
Use the Mention format by username endpoint to look up URNs by LinkedIn username. The username is the part after/in/ or /company/ in a LinkedIn profile URL:
linkedin.com/in/johndoe→johndoelinkedin.com/company/acme-inc→acme-inc
Example Request
Example Response
mentionFormat strings that you can copy directly into your post content.
Using Mentions in Posts
Include the mention format directly in your postcopy:
Using Mentions in Engagements
Mentions also work in auto-engagement comments and reposts:First Name vs Full Name
For personal profiles, you can choose to display just the first name:| Format | Result on LinkedIn |
|---|---|
@[John Doe](urn:li:person:ABC123) | John Doe |
@[John](urn:li:person:ABC123) | John |
mentionFormat (full name) and firstNameMentionFormat (first name only) for convenience.
Important Notes
Mentions are only supported on LinkedIn. For X (Twitter), use the standard
@username format directly in your post copy.