Skip to main content
Joro5928
Visitor III
June 5, 2023
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
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

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. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT