Skip to main content
Joro5928
Visitor III
Jun 5, 2023 2:37 PM UTC
Solved

API for device inventory

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

ebilcari
ebilcariAnswer
Staff
Jun 6, 2023 7:20 AM UTC

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

2 replies

ebilcari
Staff
ebilcariAnswer
Staff
Jun 6, 2023 7:20 AM UTC

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.

Translate
Emirjon
Joro5928
Joro5928Author
Visitor III
Jun 6, 2023 10:21 AM UTC

That worked, thank you :) 

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024