Get Started
Portal api methods
Help

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

Description

Gets the default settings for the account based on the email domain.

Parameters
Name Description Type Example
email
sent in url
Account email address string some text
action
sent in url
This string parameter specifies action for default settings. Values: "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