Choose which events send a lead to Breakcold
Access: an API key (or an org-wide key naming the workspace) with manage on integrations.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
application/json- body
syncOn*array<>When a lead is sent to the CRM, on the same triggers as HubSpot's syncOn (e.g. replied: the lead's first reply in a campaign conversation, interested: the reply was tagged interested, connected: the lead accepted the invite). Empty = nothing is sent.
items <= 4Default Response
application/json- response
hubspot*slack*attio*breakcold*curl -X PATCH 'https://api.tryzen.co/v1/integrations/breakcold' \ -H 'Content-Type: application/json' \ -d '{ "syncOn": [ "replied" ]}'{ "hubspot": { "type": "hubspot", "available": true, "connected": true, "account": { "id": "string", "name": "string" }, "settings": { "syncOn": [ "replied" ], "autoFindEmail": false, "conversationNotes": true, "activities": [ "added_to_campaign", "added_to_list", "message_received", "inmail_received" ] }, "connectedAt": "2019-08-24T14:15:22Z", "lastSync": { "at": "2019-08-24T14:15:22Z", "ok": true, "error": "string" }, "appEventsEnabled": true, "listImport": true }, "slack": { "type": "slack", "connected": true, "settings": { "name": "string", "events": [ "replies_received" ] }, "urlHint": "string", "connectedAt": "2019-08-24T14:15:22Z", "lastSync": { "at": "2019-08-24T14:15:22Z", "ok": true, "error": "string" } }, "attio": { "type": "attio", "available": true, "connected": true, "account": { "id": "string", "name": "string" }, "settings": { "syncOn": [ "replied" ] }, "connectedAt": "2019-08-24T14:15:22Z", "lastSync": { "at": "2019-08-24T14:15:22Z", "ok": true, "error": "string" } }, "breakcold": { "type": "breakcold", "connected": true, "account": { "id": "string", "name": "string" }, "keyHint": "string", "settings": { "syncOn": [ "replied" ] }, "connectedAt": "2019-08-24T14:15:22Z", "lastSync": { "at": "2019-08-24T14:15:22Z", "ok": true, "error": "string" } }}Check a Breakcold API key and list the workspaces it opens POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `integrations`. Nothing is stored. `422 breakcold_auth_expired`: Breakcold doesn't accept the key; `422 breakcold_missing_scope`: the key lacks a scope.
Connect Breakcold with an API key (or replace the key) PUT
**Access:** an API key (or an org-wide key naming the workspace) with manage on `integrations`. The key needs the scopes records, notes and CRM metadata (read and write). It is stored encrypted and never shown again (only its last 4 characters). `workspaceId` picks the Breakcold workspace leads go to; it may be left out when the key opens exactly one (`422 breakcold_workspace_required` otherwise). Our `tryzen_*` fields are created on the person object on connect. A reconnect keeps the choices unless `settings` is given.