TryzenAPI
Api keys

Key check: which key this is, its workspace and what it can do now

GET
/v1/api-keys/current

Access: an API key (or an org-wide key naming the workspace).

Authorization

apiKey
headerx-api-key<token>

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

Response Body

Default Response

application/json
  1. response
apiKey*
orgId*string
Match^[0-9a-f]{24}$
workspaceId*string
Match^[0-9a-f]{24}$
permissions*
rateLimit*
Example Request
curl -X GET 'https://api.tryzen.co/v1/api-keys/current'
Example Response
{  "apiKey": {    "id": "string",    "name": "string",    "prefix": "string",    "type": "public",    "scopes": {      "senders": "none",      "leads": "none",      "network": "none",      "campaigns": "none",      "inbox": "none",      "integrations": "none",      "api": "none",      "notifications": "none",      "inboxReply": true,      "crmExport": true,      "disconnectSenders": true,      "launchCampaigns": true    }  },  "orgId": "string",  "workspaceId": "string",  "permissions": {    "senders": "none",    "leads": "none",    "network": "none",    "campaigns": "none",    "inbox": "none",    "integrations": "none",    "api": "none",    "notifications": "none",    "inboxReply": true,    "crmExport": true  },  "rateLimit": {    "limit": -9007199254740991,    "windowSeconds": -9007199254740991  }}

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.

The workspace's webhooks, newest first (never their secrets) GET

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