Skip to main content
Joro5928
Visitor III
June 5, 2023
Solved

API for device inventory

  • June 5, 2023
  • 2 replies
  • 4795 views

Hi guys,

can someone suggest me how to retrieve device inventory from Fortigate with API ? 
I am using :
https://<IP:port>/api/v2/monitor/user/device/detected-device/?access_token=my token

 

but i's giving me 

http_status:404

 

When i try https://<IP:port>/api/v2/monitor/user/?access_token=my token   is showing me the entire directory and it seems working.

Fortios version is 7.2.3

Best answer by ebilcari

That is:

https://fw/api/v2/monitor/user/device/query/?access_token=

If you need more information about the API you should register to https://fndn.fortinet.net/  and ask your local Fortinet representative to sponsor you.

2 replies

ebilcari
Staff
ebilcariAnswer
Staff
June 6, 2023

That is:

https://fw/api/v2/monitor/user/device/query/?access_token=

If you need more information about the API you should register to https://fndn.fortinet.net/  and ask your local Fortinet representative to sponsor you.

Emirjon
Joro5928
Joro5928Author
Visitor III
June 6, 2023

That worked, thank you :) 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!