HubSpot's sync activity log, newest first
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.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
limit?integer1 <= value <= 10025cursor?stringnextCursor of the previous page.
length <= 200Default Response
application/json- response
items*array<>nextCursor*string|nullcurl -X GET 'https://api.tryzen.co/v1/integrations/hubspot/sync-log'{ "items": [ { "id": "string", "at": "2019-08-24T14:15:22Z", "lead": { "id": "string", "name": "string" }, "trigger": "string", "action": "string", "outcome": "ok", "reason": "string", "remoteId": "string" } ], "nextCursor": "string"}Send one lead to HubSpot now (Export to CRM) POST
**Access:** an API key (or an org-wide key naming the workspace) with the `crmExport` flag. Creates the HubSpot contact, or updates the one with the lead's email (else its LinkedIn profile URL; or the contact an earlier sync made). `409 not_connected`: connect HubSpot first. `422 contact_deleted`: the contact was deleted in HubSpot and stays excluded. `502 hubspot_*`: HubSpot refused or failed (`hubspot_unauthorized` = reconnect).
Connect Slack, or change its name and events PUT
**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.