JavaScript SDK: swarmhit.accounts.connections.get(accountId, identifier)
This sender's connection with a profile: status (not_connected / pending / connected), connection degree, whether it is an open profile, and whether the sender can message or invite them. A read; no profile view is registered and no cap is used. pending only reflects invitations this sender sent through direct actions: one sent by a campaign or from LinkedIn itself reads not_connected. Use the username in lower case: an identifier with capital letters or underscores is treated as LinkedIn's internal member id and refused with 400.
Authorization
bearerAuth An API key created on the Access tokens page.
In: header
Path Parameters
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/connections/string"{ "data": { "profileUrl": "string", "publicIdentifier": "string", "status": "not_connected", "degree": 1, "openProfile": true, "canMessage": true, "canInvite": true, "checkedAt": "2019-08-24T14:15:22Z" }}