Lists
Rename a list
PATCH
Access: an API key (or an org-wide key naming the workspace) with manage on leads.
apiKeyheader
x-api-key<token>Workspace API key (nrk_…), shown once when created
listId*stringMatch
^[0-9a-f]{24}$application/json- body
name*stringLength
1 <= length <= 200Default Response
application/json- response
list*curl -X PATCH 'https://api.tryzen.co/v1/lists/string' \ -H 'Content-Type: application/json' \ -d '{ "name": "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", "customFieldNames": [ "string" ] }}One list, with its campaigns and custom field names GET
**Access:** an API key (or an org-wide key naming the workspace) with view on `leads`.
Delete a list (its leads stay in the workspace) DELETE
**Access:** an API key (or an org-wide key naming the workspace) with manage on `leads`. Refused (409) while the list is being filled or a campaign uses it.