Choose which events send a lead to Attio
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/attio' \ -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" } }}Start connecting Attio: open the returned URL in a browser POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `integrations`. Attio asks the person to allow access, then sends the browser back to `/v1/integrations/attio/callback`, which stores the connection and redirects to Settings → Integrations. The link works for 10 minutes. `503 attio_unavailable`: this server has no Attio app.
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.