Creates a MailcowClient using the given URL and API key.
The base URL of the Mailcow API.
The API key of the Mailcow API.
Optional
EXTRA_AXIOS_CONFIG: AxiosRequestConfigAllows for setting extra Axios request config such as keep alive.
All endpoints related to address rewriting. See AdressRewritingEndpoints
All endpoints related to Aliases. See AliasEndpoints
All endpoints related to app passwords. See AppPasswordEndpoints
All endpoints related to DKIM. See DkimEndpoints
All endpoints related to Domain Admins. See DomainAdminEndpoints
All endpoints related to Domains. See DomainEndpoints
All endpoints related to fail2ban. See Fail2BanEndpoints
All endpoints related to forwarding hosts. See ForwardingEndpoints
All endpoints related to logs. See LogEndpoints
All endpoints related to mailboxes. See MailboxEndpoints
All endpoints related to OAuth2 clients. See OAuth2Endpoints
All endpoints related to quarantine. See QuarantineEndpoints
All endpoints related to the mail queue. See QueueManagerEndpoints
All endpoints related to rate limits. See RatelimitsEndpoints
All endpoints related to resources. See ResourceEndpoints
All endpoints related to Routing. See RoutingEndpoints
All endpoints related to spam policies. See AntiSpamEndpoints
All endpoints related to status. See StatusEndpoints
All endpoints related to sync jobs. See SyncjobEndpoints
All endpoints related to TLS Policy Maps. See TlsPolicyMapEndpoints
Class containing all the logic to interface with the Mailcow API in TypeScript.
External