Skip to main content

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 your copy field:
For example:
  • Person: @[John Doe](urn:li:person:ABC123xyz)
  • Company: @[Acme Inc](urn:li:organization:123456)
When the post is published, LinkedIn will convert these into clickable profile links and notify the tagged accounts.

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/johndoejohndoe
  • linkedin.com/company/acme-incacme-inc

Example Request

Example Response

The response includes pre-formatted mentionFormat strings that you can copy directly into your post content.

Looking up profiles by URN

If you already have a URN and need to resolve it to a username, name, or profile picture, use the Get LinkedIn profile by URN endpoint.

Example request

Example response

This works for both person and organization URNs.

Using Mentions in Posts

Include the mention format directly in your post copy:

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: The mention lookup endpoint provides both mentionFormat (full name) and firstNameMentionFormat (first name only) for convenience.

Important Notes

The display name in the mention must be a prefix of the account’s actual name. For example, if the account name is “John Doe”, you can use @[John Doe] or @[John], but not @[Johnny] or @[J. Doe].
Mentions are only supported on LinkedIn. For X (Twitter), use the standard @username format directly in your post copy.