JavaScript SDK: swarmhit.accounts.profiles.get(accountId, identifier)
Resolve a LinkedIn profile by its public identifier (the username in linkedin.com/in/<identifier>) from this sender account. A silent read — no profile view is registered.
Authorization
bearerAuth AuthorizationBearer <token>
An API key created on the Access tokens page.
In: header
Path Parameters
id*string
identifier*string
The profile's public identifier (username), e.g. "john-doe".
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/accounts/string/profiles/string"{ "data": { "profileUrl": "string", "publicIdentifier": "string", "firstName": "string", "lastName": "string", "fullName": "string", "headline": "string", "picture": "string", "relationship": { "status": "not_connected", "degree": 1, "openProfile": true, "canMessage": true, "canInvite": true } }}