Skip to main content
alya
Staff
Staff
August 18, 2025

Technical Tip: How to Get FortiSandbox Mail queue via API call

  • August 18, 2025
  • 0 replies
  • 167 views
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:

 

GET in postman.png

 

Result:

 

result.png