Connect Smartlead, Instantly or EmailBison with an API key (tested first)
Access: an API key (or an org-wide key naming the workspace) with manage on integrations.
The key is checked with one read against the tool and stored encrypted only if the tool accepts it (422 email_tool_key_refused otherwise, with the tool's reason). One connection per tool per workspace (409 email_tool_already_connected). EmailBison takes your instance's baseUrl (default https://dedi.emailbison.com).
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
application/json- body
provider*string"instantly""smartlead""emailbison"apiKey*string8 <= length <= 512baseUrl?stringlength <= 256Default Response
application/json- response
connection*curl -X POST 'https://api.tryzen.co/v1/email-tool-connections' \ -H 'Content-Type: application/json' \ -d '{ "provider": "instantly", "apiKey": "stringst"}'{ "connection": { "id": "string", "provider": "instantly", "keyHint": "string", "baseUrl": "string", "status": "ok", "lastTestedAt": "2019-08-24T14:15:22Z", "lastError": "string", "createdAt": "2019-08-24T14:15:22Z" }}The workspace's email-tool connections (never their keys) GET
**Access:** an API key (or an org-wide key naming the workspace) with view on `integrations`.
Check the stored key against the tool again; the verdict is saved POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `integrations`.