Dela via


salesNavigatorProfileAssociations

This resource returns associated data for existing high-confidence matches between LinkedIn members and external, vendor-specific IDs.

Methods

get

Fetches the corresponding match when provided with a SalesNavigatorProfileAssociationKey.

GET /salesNavigatorProfileAssociations/(instanceId:foo,partner:bar,recordId:baz)

Response body

SalesNavigatorProfileAssociation

Sample Request

curl -X GET 'https://api.linkedin.com/v2/salesNavigatorProfileAssociations/(instanceId:foo,partner:bar,recordId:baz)' \
-H 'Authorization: Bearer AQXt...' \
-H 'X-RestLi-Protocol-Version=2.0.0'

Sample Response

{
  "profilePhoto": "bar",
  "profile": "foo",
  "member": "urn:li:person:bar"
}

batch_get

Batch fetches the corresponding match when provided with multiple SalesNavigatorProfileAssociationKeys.

GET /salesNavigatorProfileAssociations?ids=List((instanceId:foo,partner:bar,recordId:foo),(instanceId:foo,partner:bar,recordId:bar))

Response body

SalesNavigatorProfileAssociation

Sample Request

curl -X GET 'https://api.linkedin.com/v2/salesNavigatorProfileAssociations?ids=List((instanceId:foo,partner:bar,recordId:foo),(instanceId:foo,partner:bar,recordId:bar))' \
-H 'Authorization: Bearer AQXt...' \
-H 'X-RestLi-Protocol-Version=2.0.0'

Sample Response

{
  "statuses": {},
  "results": {
    "(instanceId:foo,partner:bar,recordId:foo)": {
      "profilePhoto": "baz",
      "profile": "baz",
      "member": "urn:li:person:foo"
    },
    "(instanceId:foo,partner:bar,recordId:bar)": {
      "profilePhoto": "foo",
      "profile": "bar",
      "member": "urn:li:person:bar"
    }
  },
  "errors": {}
}

Definitions

SalesNavigatorProfileAssociation

A model wrapping a unique member identifier with other profile information.

Field Description Type Optional
member Represents a LinkedIn Person URN PersonUrn false
profile The absolute URL of a single Sales Navigator profile Url false
profilePhoto The absolute url for a LinkedIn profile photo. If the user has not uploaded their own profile photo or if their privacy settings preclude us from showing the profile photo to the public, then this field will not be present Url true

SalesNavigatorProfileAssociationKey

Represents the LinkedIn partner that is making the request, an instance of that partner's application, and a specific record within that instance

Field Description Type Optional
partner ID of the CRM partner that synced with Sales Navigator string false
instanceId ID of the CRM instance that synced with Sales Navigator string false
recordId ID of the CRM record string false

PersonUrn

Represents person ID for the member that is unique to the developer application making the API call.

Reference Type: string

Error Codes

Response Code Service Error Code Description
400 - Bad request, missing parameter
400 40001 CRM Sync not enabled for this CRM instance.
400 40002 Cannot determine CRM Sync status for this CRM instance.
401 - Unauthorized (typically a result of token expiration)
403 - Application does not have enough access to complete the request. Application may not have the required scope to use the endpoint
404 - Match unavailable
429 - Too many requests. The application is currently being throttled due to high call volume
500 - Unhandled service error