Technical Tip: How to Get FortiSandbox Mail queue via API call
| Description | This article describes how to get the FortiSandbox Mail queue via API call. |
| Scope | FortiMail. |
| Solution | Below is the command format in Linux:
curl -k -v -b cookie.txt -G -H "Content-Type: application/json" --data-urlencode "reqAction=1" --data-urlencode "extraParam=9%current" --data-urlencode "startIndex=0" --data-urlencode "pageSize=50" --data-urlencode "page_id=SandBoxQueueFolderCollection" "https://x.x.x.x/api/v1/MailSetQueue"
Here is a command example in the Postman application:
Result:
|

