Returns the SMTP server and the subject and footers that this server's email alerts use. The SMTP password is never returned: password_set only says whether a non-empty one is stored.
custom is true when the server has its own SMTP settings. When it is false, host, from_address and username are null and alerts go out through the server default. A subject or footer that was never set reads as the default in effect.
Authorization
Internal API clients only. On a ZWS-integrated server, COMPANY and SERVER users are allowed; on any other server, SERVER users only.
GET
/email_settings
curl \
--request GET 'https://api.iformbuilder.com/exzact/api/v80/[servername]/email_settings' \
--header "Authorization: Bearer {access_token}"
Response examples (200)
{
"custom": true,
"host": "smtp.example.com",
"from_address": "alerts@example.com",
"username": "mailer",
"password_set": true,
"subject": "New Record",
"footer": "",
"footer2": ""
}