TryzenAPI
Lists

A lead's LinkedIn profile photo, as we stored it

GET
/v1/leads/{leadId}/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 leads.

The image bytes (image/jpeg, image/png, image/webp or image/avif), privately cacheable for a day. Use the pictureUrl the profile lookup returns (relative to the API base); it is never a LinkedIn URL and fetching it never reads LinkedIn. The photo is stored by the inbox sync from a thread with the person. 404 when none is stored (show initials).

Authorization

apiKey
headerx-api-key<token>

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

Path Parameters

leadId*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/leads/string/picture'
Example Response4XX
{  "ok": false,  "error": {    "code": "string",    "message": "string",    "problems": [      {        "code": "string",        "parameter": "string",        "message": "string"      }    ]  }}