TryzenAPI
Imports

Start importing the attendees of a LinkedIn event

POST
/v1/imports/linkedin-event-attendees

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

Checks the event URL (422 event_url_invalid with the problem in error.problems), the sender (404 sender_not_found, 409 sender_not_connected) and the list (409 company_list for a company list, list_busy while it is being filled), then starts the import job. The URL is a LinkedIn event: https://www.linkedin.com/events/<name><id>/ (any tab of it). The sender must attend the event: LinkedIn shows the attendees only to attendees. Any connected sender (GET /v1/imports/linkedin-search/senders). The people go into a people list, 10 per page at the searches' slow, budgeted pace, up to 10,000 per event. 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 <= 10000
Default10000

Response Body

Default Response

application/json
  1. response
import*
Example Request
curl -X POST 'https://api.tryzen.co/v1/imports/linkedin-event-attendees' \  -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"  }}

Start importing the people who reacted to a LinkedIn post POST

**Access:** an API key (or an org-wide key naming the workspace) with manage on `leads`. Checks the post URL (422 `post_url_invalid` with the problem in `error.problems`), the sender (404 `sender_not_found`, 409 `sender_not_connected`) and the list (409 `company_list` for a company list, `list_busy` while it is being filled), then starts the import job. The URL is a LinkedIn post: `https://www.linkedin.com/posts/<slug>-activity-<id>-<x>` (the post's “Copy link to post”) or `https://www.linkedin.com/feed/update/urn:li:activity:<id>/` (`ugcPost` posts too). Shared posts (`urn:li:share:`) aren't supported yet. `reactionType` imports only one kind of reaction (`LIKE`, `PRAISE` = Celebrate, `EMPATHY` = Love, `INTEREST` = Insightful, `APPRECIATION` = Support, `ENTERTAINMENT` = Funny); without it, every reaction. The people go into a people list (a new one, or an existing ready people list). The sender's account reads the reactors over HTTP, 10 per page, at a slow, budgeted pace (the same daily read budget and working hours as searches), up to 10,000 per post. Company pages that reacted are skipped. Any connected sender works (`GET /v1/imports/linkedin-search/senders`; no browser needed). Poll `GET /v1/imports/{importId}`. `progress.total` is null until the first page.

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.