TryzenAPI
Leads

One lead: profile, email, custom fields, tags, connections

GET
/v1/leads/{leadId}

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

The lead drawer's facts: name, headline, position, company, location, profile URL, the unified email and its state, custom fields, manual tags, the auto-tag, the blacklist badge, the connection status with each sender that has a relationship with it, and the lists and campaigns it is in (at most 200 each). 404 lead_not_found when it 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
lead*
Example Request
curl -X GET 'https://api.tryzen.co/v1/leads/string'
Example Response
{  "lead": {    "id": "string",    "firstName": "string",    "lastName": "string",    "headline": "string",    "position": "string",    "companyName": "string",    "companyGuessedFrom": "headline",    "location": "string",    "profileUrl": "string",    "pictureUrl": "string",    "email": {      "state": "none",      "value": "string",      "reason": "string"    },    "tags": [      {        "id": "string",        "name": "string",        "color": "gray"      }    ],    "customFields": {      "property1": "string",      "property2": "string"    },    "companyUrl": "string",    "autoTag": {      "value": "string",      "at": "2019-08-24T14:15:22Z"    },    "blacklist": {      "lead": true,      "company": true    },    "connections": [      {        "senderId": "string",        "state": "none",        "invitedAt": "2019-08-24T14:15:22Z",        "acceptedAt": "2019-08-24T14:15:22Z"      }    ],    "listIds": [      "string"    ],    "campaignIds": [      "string"    ],    "source": "csv",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}