Creates a MailcowClient using the given URL and API key.
The base URL of the Mailcow API.
The API key of the Mailcow API.
OptionalEXTRA_AXIOS_CONFIG: AxiosRequestConfig<any>Allows for setting extra Axios request config such as keep alive.
All endpoints related to address rewriting. See AddressRewritingEndpoints
All endpoints related to Aliases. See AliasEndpoints
Readonly InternalAPI_The API key of the Mailcow API.
All endpoints related to app passwords. See AppPasswordEndpoints
InternalAXIOS_The request config used for every request.
Readonly InternalBASE_The base URL of the Mailcow API.
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
Endpoint for configuring the external Identity Provider (Keycloak, LDAP, or a generic OIDC provider). See IdentityProviderEndpoints
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
InternalrequestFactory method pattern for creating HTTP requests.
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