API Reference
Image upload (www.linkedin.com)PUTUpload the image bytesGETDownload an image
Member, accounts and roles

Get the member

GET/v2/me
Base URL: https://linkedin-ads.mimicr.dev · provider: https://api.linkedin.com

Returns the member of the token (scope r_basicprofile or r_liteprofile). The person URN is urn:li:person:{id}. This unversioned path needs no LinkedIn-Version; the versioned alias GET /rest/me is accepted too. Other /v2/ Marketing paths were sunset and answer 426.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Responses

200The member.
idstring

Member id; the person URN is urn:li:person:{id}.

localizedFirstNamestring

First name.

localizedLastNamestring

Last name.

firstNameobject

Localized text.

Show child attributes
localizedobject

Text per locale ({"pt_BR": "…"}).

preferredLocaleobject
Show child attributes
countrystring

Country code (BR).

languagestring

Language code (pt).

lastNameobject

Localized text.

Show child attributes
localizedobject

Text per locale ({"pt_BR": "…"}).

preferredLocaleobject
Show child attributes
countrystring

Country code (BR).

languagestring

Language code (pt).

localizedHeadlinestring

Headline.

vanityNamestring

Vanity name.

401Missing token (Empty oauth2_access_token), invalid token (65600 INVALID_ACCESS_TOKEN), revoked (65601 REVOKED_ACCESS_TOKEN) or expired (65602 EXPIRED_ACCESS_TOKEN).
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.

403The token lacks the scope (ACCESS_DENIED, "Not enough permissions to access: {resource}.{METHOD}.{version}") or the member's role is too low (NO_PERMISSION_ON_ENTITY).
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.