Get Started
Usage API
More information

GET api/2.0/mail/accounts/setups This function requires authentication

Description

Returns the default settings for an account based on its email domain.

Parameters
Name Description Type Example
email
sent in url
Account email address string some text
action
sent in url
Action for default settings: "get_imap_pop_settings" - get IMAP or POP settings (IMAP settings are prior), "get_imap_server" | "get_imap_server_full" - get IMAP settings, "get_pop_server" | "get_pop_server_full" - get POP settings. By default returns default IMAP settings string some text
Example
GET api/2.0/mail/accounts/setups?email=some+text&action=some+text
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Account with default settings