TryzenAPI
Lists

Add leads to a list: one by hand, or up to 100

POST
/v1/lists/{listId}/leads

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

Batch: through an API key, leads holds at most 100 items.

Each item is a workspace lead id, or a person by LinkedIn profile URL with optional name, headline, position, company, company URL, location, email and custom fields. A URL is deduped against the workspace's leads like the CSV import (a new person becomes a lead, source manual from the app, api from a key); profile fields are written only on a new lead unless updateExisting, custom fields and the email always. Per-item failures (target_invalid with every problems entry, lead_not_found) don't fail the call; a lead already in the list is already_in_list. A blacklisted lead is still added and flagged in blacklisted (campaigns skip it at every step). 409 list_busy while an import or operation fills the list, company_list for a company list; 404 list_not_found.

Authorization

apiKey
headerx-api-key<token>

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

Path Parameters

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

Request Body

application/json
  1. body
leads*array<|>
Items1 <= items <= 100
updateExisting?boolean
Defaultfalse

Response Body

Default Response

application/json
  1. response
added*integer
Range0 <= value <= 9007199254740991
alreadyInList*integer
Range0 <= value <= 9007199254740991
failed*integer
Range0 <= value <= 9007199254740991
items*array<>
Example Request
curl -X POST 'https://api.tryzen.co/v1/lists/string/leads' \  -H 'Content-Type: application/json' \  -d '{  "leads": [    {      "leadId": "string"    }  ]}'
Example Response
{  "added": 0,  "alreadyInList": 0,  "failed": 0,  "items": [    {      "index": 0,      "outcome": "added",      "leadId": "string",      "created": true,      "blacklisted": {        "lead": true,        "company": true      },      "code": "target_invalid",      "message": "string",      "problems": [        {          "code": "string",          "parameter": "string",          "message": "string"        }      ]    }  ]}