Technical Tip: Create a safelist, blocklist and secondary account for a particular mail user via API
| Description | This article describes how to create a safelist, blocklist, and secondary account for a specific mail user via API call. |
| Scope | FortiMail 7.0 and higher versions. |
| Solution |
To check the created blocklist entry, use the following API call:
To check the created safelist entry, use the following API call:
To check the created secondary account, go to FML and check User Preferences:
Note: There is a bug 0873052 (Unable to add a secondary account through API). It is fixed in v7.0.6, v7.2.3, and v7.4.0. |






