TryzenAPI
Imports

Start importing the people of a LinkedIn Recruiter search

POST
/v1/imports/linkedin-recruiter-search

Access: an API key (or an org-wide key naming the workspace) with manage on leads.

Checks the Recruiter search URL (422 recruiter_url_invalid with the problem in error.problems), the sender (404 sender_not_found, 409 sender_not_connected, 409 recruiter_required when its account has no Recruiter seat) and the list (409 company_list, list_busy), then starts the import job. The URL is the address bar of a Recruiter search's results: https://www.linkedin.com/talent/hire/<project>/discover/recruiterSearch?searchHistoryId=<id>… or https://www.linkedin.com/talent/search?searchHistoryId=<id>…. Senders with a seat: GET /v1/imports/linkedin-recruiter/senders. The people go into a people list, 25 per page at the searches' slow, budgeted pace, up to 1,000. Poll GET /v1/imports/{importId}. Not live yet: until LinkedIn's call is captured and verified, the import starts and then fails search_unavailable ("can't be read right now") without sending anything to LinkedIn.

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Request Body

application/json
  1. body
url*string
Length1 <= length <= 4096
senderId*string
Match^[0-9a-f]{24}$
target*|
maxResults?integer
Range1 <= value <= 1000
Default1000

Response Body

Default Response

application/json
  1. response
import*
Example Request
curl -X POST 'https://api.tryzen.co/v1/imports/linkedin-recruiter-search' \  -H 'Content-Type: application/json' \  -d '{  "url": "string",  "senderId": "string",  "target": {    "kind": "new",    "name": "string"  }}'
Example Response
{  "import": {    "id": "string",    "listId": "string",    "listName": "string",    "status": "pending",    "source": {      "type": "csv",      "url": "string",      "reactionType": "LIKE",      "crm": {        "provider": "hubspot",        "listId": "string",        "listName": "string",        "listKind": "static",        "linkedinUrlProperty": "string"      }    },    "senderIds": [      "string"    ],    "maxResults": 1,    "fileName": "string",    "progress": {      "offset": 0,      "total": 0    },    "counts": {      "created": 0,      "existing": 0,      "addedToList": 0,      "alreadyInList": 0,      "invalid": 0,      "duplicateInFile": 0    },    "rejectedSample": [      {        "rowNumber": 1,        "errors": [          {            "code": "string",            "column": "string",            "detail": "string"          }        ]      }    ],    "error": {      "code": "string",      "message": "string"    },    "createdAt": "2019-08-24T14:15:22Z",    "startedAt": "2019-08-24T14:15:22Z",    "finishedAt": "2019-08-24T14:15:22Z"  }}