POST
/
actions
/
linkedin
/
search
curl --request POST \
  --url https://svc.sandbox.anon.com/actions/linkedin/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cursor": "<string>",
  "profileName": "<string>",
  "connectionsOf": "<string>",
  "appUserId": "<string>",
  "networkDistance": [
    "1"
  ],
  "appUserPoolId": "<string>"
}'
{
  "cursor": "<string>",
  "pageCount": 123,
  "profiles": [
    {
      "id": "<string>",
      "name": "<string>",
      "headline": "<string>",
      "profilePictureUrl": "<string>",
      "publicIdentifier": "<string>",
      "publicProfileUrl": "<string>",
      "profileUrl": "<string>",
      "networkDistance": "DISTANCE_1",
      "location": "<string>"
    }
  ],
  "totalCount": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
appUserId
string
required

The ID of the user to take the action for

cursor
string | null

Cursor for pagination, used to fetch the next page of results

profileName
string | null

Name of the person to search for

connectionsOf
string | null

Filter by connections of a specific profile. Use the ID of a profile returned from the searchProfiles, listConnections, or listConversations endpoints.

networkDistance
enum<string>[] | null

Filter by network distance. For example pass in [1, 2] to get 1st and 2nd degree connections.

Available options:
1,
2,
3,
4
appUserPoolId
string | null

The ID of the user pool that contains the user ID

Response

200 - application/json
pageCount
integer
required

Total number of items in the current page

profiles
object[]
required
totalCount
integer
required

Total number of items across all pages

cursor
string | null

Cursor to fetch the next page of results, if available