TryzenAPI
Senders

The sender's own LinkedIn profile photo, as we stored it

GET
/v1/senders/{senderId}/picture

Access: a member of the workspace in the workspaceId query parameter or an API key (or an org-wide key naming the workspace) with view on senders.

The image bytes (image/jpeg, image/png, image/webp or image/avif), privately cacheable for a day. Use the sender's linkedin.pictureUrl (relative to the API base); it is never a LinkedIn URL. The photo is stored at connect and by the inbox sync. 404 when none is stored (show initials).

Authorization

apiKey
headerx-api-key<token>

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

Path Parameters

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

Query Parameters

workspaceId?string
Match^[0-9a-f]{24}$

Response Body

Default Response

application/json
  1. response
ok*boolean
error*
Example Request
curl -X GET 'https://api.tryzen.co/v1/senders/string/picture'
Example Response4XX
{  "ok": false,  "error": {    "code": "string",    "message": "string",    "problems": [      {        "code": "string",        "parameter": "string",        "message": "string"      }    ]  }}

Choose the sender's inbox mode, the last connect step POST

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

Create a hosted connect link: your customer connects a LinkedIn account on our page POST

**Access:** an API key (or an org-wide key naming the workspace) with manage on `senders`. Answers the page URL (on your brand host when white-label is on; it contains the link's secret, so it is shown once), its expiry and the link id. The page offers the Tryzen extension or cookies, shows "Yes, that's me" and the inbox mode (`inboxMode`, default `full`, pre-selected), then redirects to `successRedirectUrl?senderId=…&linkId=…&externalId=…` (or `failureRedirectUrl?code=…&linkId=…&externalId=…`). Redirect URLs must be https (http only for localhost in development) and are the only places the page ever sends the customer. `sender_status_changed` webhooks carry `connectLink: {id, externalId}` for senders connected through a link. Add `senderId` to reconnect an existing sender (it keeps its id; `proxyCountry` may then be left out, and `label` too). A link an API key creates for a sender that holds no seat (disconnected in Tryzen, or an inactive seat) is refused with 409 `seat_requires_person`. `proxy` brings your own proxy for the new sender instead of a pool claim (new senders only): it is checked through itself now and must exit in `proxyCountry`, else 422 with the failure code (`unreachable`, `auth_failed`, `timeout`, `echo_failed`, `country_mismatch`); 409 `proxy_in_use` when it is already registered. The password is stored encrypted and never returned. The link expires after `expiresInMinutes` (default 60, at most 1440) and is used up once its sender is connected.