TryzenAPI
Network

Is this lead connected to my senders? Every relationship of one lead

GET
/v1/network/leads/{leadId}

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

One entry per sender of the workspace that has a relationship with the lead: connection is none (talked or withdrawn), pending (invited) or connected. 404 lead_not_found when the lead isn't in this workspace.

Authorization

apiKey
headerx-api-key<token>

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

Path Parameters

leadId*string
Match^[0-9a-f]{24}$

Response Body

Default Response

application/json
  1. response
leadId*string
Match^[0-9a-f]{24}$
senders*array<>
Example Request
curl -X GET 'https://api.tryzen.co/v1/network/leads/string'
Example Response
{  "leadId": "string",  "senders": [    {      "senderId": "string",      "senderName": "string",      "connection": "none",      "invitedAt": "2019-08-24T14:15:22Z",      "acceptedAt": "2019-08-24T14:15:22Z",      "inviteGone": true    }  ]}

My Network filter options: per-sender counts and distinct leads per tab GET

**Access:** an API key (or an org-wide key naming the workspace) with view on `network`.

Look up a LinkedIn profile as one of your senders (connection state, lead) GET

**Access:** an API key (or an org-wide key naming the workspace) with manage on `leads`. `identifier` is a vanity (`jane-doe`), a profile URL (URL-encoded) or a `urn:li:fsd_profile:…` URN. One read through the sender's own LinkedIn session (resolve the vanity, then the relationship), synchronous (≤ 90 s). Answers `connection` as `connected`, `pending` (an invitation sits between you; ours or theirs is not told apart yet), `none` or `unknown`, and the `profileUrn` to pass back as a target. The workspace lead for the profile is created if it was new (`leadId`). LinkedIn returns no name, headline or location here: they come from the lead when it has them, else `null`. `pictureUrl` is the person's photo only when we already store one (from an inbox thread with them): our own route `/v1/leads/{leadId}/picture?workspaceId=…`, relative to the API base, which a key with `leads: view` fetches; never a LinkedIn URL, and the lookup never reads LinkedIn for it. Otherwise `null`. A URN is accepted only when the workspace already has a lead with that URN and a vanity; otherwise pass the vanity or the profile URL. Each sender has a small daily budget of lookups (25 per sender-local day): `429 lookup_budget_exhausted` with `Retry-After` in seconds. A minimum spacing (5-15 s) applies between two lookups of one sender, and a lookup answered with a LinkedIn throttle (or while the sender is locked or cooling down) holds the sender: `429 lookup_throttled` with `Retry-After`; nothing is retried automatically. `503 lookup_unavailable` when the worker is down, the sender is busy past the deadline or the engine is unreachable: retry.