TryzenAPI
Network

Send connections to a new or existing list

POST
/v1/network/send-to-list

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

Needs Manage on Leads and lists and View on My Network. selection is the ticked rows ({ kind: "leads", leadIds }, ≤ 100) or every lead matching the tab and filters ({ kind: "filter", state, senderIds, search, title }, ≤ 10,000; 422 selection_too_large above, nothing written). target is { kind: "new", name } or { kind: "existing", listId } (a people list that isn't being filled: 409 list_busy, company_list; 404 list_not_found). Idempotent: leads already in the list are counted in alreadyInList.

Authorization

apiKey
headerx-api-key<token>

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

Request Body

application/json
  1. body
target*|
selection*|

Response Body

Default Response

application/json
  1. response
list*
matched*integer
Range0 <= value <= 9007199254740991
added*integer
Range0 <= value <= 9007199254740991
alreadyInList*integer
Range0 <= value <= 9007199254740991
Example Request
curl -X POST 'https://api.tryzen.co/v1/network/send-to-list' \  -H 'Content-Type: application/json' \  -d '{  "target": {    "kind": "new",    "name": "string"  },  "selection": {    "kind": "leads",    "leadIds": [      "string"    ]  }}'
Example Response
{  "list": {    "id": "string",    "name": "string",    "type": "people",    "status": "importing",    "leadCount": 0,    "campaigns": [      {        "id": "string",        "name": "string"      }    ],    "createdAt": "2019-08-24T14:15:22Z"  },  "matched": 0,  "added": 0,  "alreadyInList": 0}