The workspace's native integrations (HubSpot, Slack, Attio, Breakcold), connected or not
Access: an API key (or an org-wide key naming the workspace) with view on integrations.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
Default Response
application/json- response
hubspot*slack*attio*breakcold*curl -X GET 'https://api.tryzen.co/v1/integrations'{ "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" } }}KPIs per sender in this campaign GET
**Access:** an API key (or an org-wide key naming the workspace) with view on `campaigns`. The campaign's daily counters per sender between `from` and `to` (UTC days, both included; default the last 30 days; at most 366), with each sender's LinkedIn subscription. `subscription` keeps only senders with that one. `leads` is the campaign's leads assigned to the sender now. 422 `range_inverted | range_too_long`.
Start connecting HubSpot: open the returned URL in a browser POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `integrations`. HubSpot asks the person to allow access, then sends the browser back to `/v1/integrations/hubspot/callback`, which stores the connection and redirects to Settings → Integrations. The link works for 10 minutes. `503 hubspot_unavailable`: this server has no HubSpot app.