A connection's inbound rules and the state of our webhook on the tool
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
connectionId*string^[0-9a-f]{24}$Default Response
application/json- response
rules*array<>hook*curl -X GET 'https://api.tryzen.co/v1/email-tool-connections/string/inbound-rules'{ "rules": [ { "id": "string", "connectionId": "string", "provider": "instantly", "name": "string", "enabled": true, "when": { "kinds": [ "reply" ], "vendorCampaignIds": [ "string" ] }, "action": { "kind": "add_to_campaign", "campaignId": "string", "senderId": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "hook": { "status": "off", "registrations": 0, "lastError": "string", "updatedAt": "2019-08-24T14:15:22Z" }}Disconnect: the key and its inbound rules are deleted (our webhooks leave the tool); steps that use it fail until reconnected DELETE
**Access:** an API key (or an org-wide key naming the workspace) with manage on `integrations`.
Add an inbound rule (registers our webhook on the tool with your key) POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `integrations`. When the tool sends one of `when.kinds` (for one of `when.vendorCampaignIds`, empty = any campaign), the person is added to the Tryzen campaign or list. The person needs a LinkedIn profile URL on the tool's lead (a `linkedin_url` variable, or Smartlead's LinkedIn field); without one the event is skipped. Smartlead rules name at least one campaign. If the tool refuses our webhook the rule is still saved and `hook.status` is `failing` with the tool's words.