Profiles

Resolve mention (LinkedIn only)

LinkedIn only. Turns a LinkedIn company page URL (or its slug) into the URN LinkedIn needs to render an @-mention — mentions are written into post text as @Display Name, e.g. @Postproxy. Company, showcase and school pages all resolve; the page does not have to be one this connection administers. Person mentions (linkedin.com/in/...) can't be resolved yet — person lookup is coming soon; a person URL returns 400. Results are cached for 1 hour per page, including pages that resolve to nothing.

get/api/profiles/{id}/resolve_mention

Request

  • Base URL
    https://api.postproxy.dev
  • URL
    https://api.postproxy.dev/api/profiles/{id}/resolve_mention
  • Auth
    HTTP bearer

Path parameters

idstring required

Profile id (must be a LinkedIn profile)

Query parameters

urlstring required

Company page URL (https://www.linkedin.com/company/postproxy) or just its name (postproxy)

profile_group_idstring

Profile group context for the request. Optional when the API key is scoped to a profile group (that group is used automatically); with a full-access key, defaults to the first profile group in the account.

Response

The resolved mention URN

urnstring

LinkedIn URN to put inside @...

typestring

Always organization today

namestring

The page's name — a sensible default for the mention's display text

vanity_namestring

The slug that matched, to confirm the right page came back

Changes

No recorded changes to this operation across all 1 revision of this API.