TryzenAPI
Integrations

Change a lead catcher: its list, campaign, fields, or turn it off

PATCH
/v1/lead-catchers/{catcherId}

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

Fields left out stay. Changing or clearing campaignId drops the sender pin unless senderId is sent too. The URL doesn't change (rotate it for a new one). Off (enabled: false): posts are still accepted and listed under events, then skipped.

Authorization

apiKey
headerx-api-key<token>

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

Path Parameters

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

Request Body

application/json
  1. body
name?string
Length1 <= length <= 80
enabled?boolean
listId?string
Match^[0-9a-f]{24}$
campaignId?|null
senderId?|null
resumeFinished?boolean
updateExisting?boolean
requireSignature?boolean
fieldMap?
customFields?array<>
Itemsitems <= 20

Response Body

Default Response

application/json
  1. response
catcher*
Example Request
curl -X PATCH 'https://api.tryzen.co/v1/lead-catchers/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "catcher": {    "id": "string",    "name": "string",    "enabled": true,    "listId": "string",    "campaignId": "string",    "senderId": "string",    "resumeFinished": true,    "updateExisting": true,    "requireSignature": true,    "fieldMap": {      "profileUrl": "string",      "firstName": "string",      "lastName": "string",      "fullName": "string",      "companyName": "string",      "position": "string",      "headline": "string",      "email": "string",      "location": "string"    },    "customFields": [      {        "name": "string",        "path": "string"      }    ],    "lastReceivedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}