Connect Slack, or change its name and events
Access: an API key (or an org-wide key naming the workspace) with manage on integrations.
webhookUrl is a Slack Incoming Webhook (https://hooks.slack.com/services/…), required the first time and never shown again (only its last 4 characters). The events are notification types; each one posts when it notifies in the app.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
application/json- body
name*string1 <= length <= 80events*array<>1 <= items <= 12webhookUrl?stringRequired the first time; leave it out to keep the stored one.
^https:\/\/hooks\.slack\.com\/services\/[A-Za-z0-9_/-]+$length <= 500Default Response
application/json- response
hubspot*slack*attio*breakcold*curl -X PUT 'https://api.tryzen.co/v1/integrations/slack' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "events": [ "replies_received" ]}'{ "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" } }}HubSpot's sync activity log, newest first GET
**Access:** an API key (or an org-wide key naming the workspace) with view on `integrations`. One row per write attempt (contact, note, activity) in the last 90 days: the lead, the trigger, `ok`/`failed`/`skipped` and why (`no_email`, `contact_deleted`, `unauthorized`, `rate_limited`, …). Page with `nextCursor`. `404 not_connected`: HubSpot isn't connected.
Post a test message to the connected Slack channel POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `integrations`.