companies

Create Email Account

Add an IMAP account to a company (accountant/owner). Secret encrypted at rest, never returned.

For a company user (not a platform admin) imap_host must resolve to a public address (422 invalid.integrationHost) — the server connects there.

post/companies/{company_id}/email-accounts

Request

  • Base URL: https://app.zeno-works.ch (the document declares no server; this is the origin it was published from)
  • URL: https://app.zeno-works.ch/companies/{company_id}/email-accounts
  • Auth: none declared

Path parameters

company_idstring required

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Request body

labelstring required
imap_userstring required
imap_passwordstring required
imap_hoststring required
imap_portinteger
imap_tlsboolean
imap_inboxstring
imap_archivestring nullable
enabledboolean
poll_batch_capinteger nullable
allow_private_hostboolean nullable

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.