Start importing the people of a 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.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
application/json- body
url*string1 <= length <= 4096senderId*string^[0-9a-f]{24}$target*|maxResults?integer1 <= value <= 10001000Default Response
application/json- response
import*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" }}'{ "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" }}Senders for a LinkedIn Recruiter import (connected ones, with their seat) GET
**Access:** an API key (or an org-wide key naming the workspace) with manage on `leads`. Every connected sender; `recruiter` says whether its LinkedIn account has a Recruiter seat (detected on connect). Only those can import a Recruiter search.
The connected HubSpot portal's contact lists, to pick one to import GET
**Access:** an API key (or an org-wide key naming the workspace) with manage on `leads`. Static and dynamic (active) contact lists, with HubSpot's member count. `query` keeps the lists whose name has those words; page with `nextCursor`. 409 `hubspot_not_connected` (connect HubSpot first) or `hubspot_lists_not_granted` (reconnect HubSpot to allow list imports: the connection predates them or the portal refused the list scopes); 503 `hubspot_unavailable` when this server has no HubSpot app.