Skip to main content
JuddTracy
New Member
August 13, 2020
Question

Access to the Fortinet Rest API documentation

  • August 13, 2020
  • 6 replies
  • 13106 views

How would I go about getting access to the fortinet rest api documentation?

    6 replies

    Jordan_Thompson_FTNT
    Staff
    Staff
    August 13, 2020

    Full API documentation is available on FNDN under the "FortiAPI" section.

    JuddTracy
    JuddTracyAuthor
    New Member
    August 13, 2020

    Thanks,

     

    So to create a new account you need 2 fortinet employees as sponsors.  Not sure how you go about getting sponsored. Any ideas?

    Markus
    New Member
    August 14, 2020

    Just ask two Fortinet employees (Sales, Tec etc.) to sponsoring you. For me, I asked my accountmanager and one guy from the tecnical stuff.

    JuddTracy
    JuddTracyAuthor
    New Member
    August 17, 2020

    I don't know anyone that works at Fortinet and we purchase our Firewall and Updates through our VAR.

     

    @Yurisk or anyone can you answer a simple question for me?  Is there a REST call that will return the results that map to the following command:

    get vpn certificate local details

     

    I have tried working with "api/v2/cmdb/vpn.certificate/local/" but it will not return any information related to the validity, fingerprint or serial number.

    Yurisk
    SuperUser
    SuperUser
    August 20, 2020

    Hi Judd,

    nope, you cannot get details of the certificates individually (AFAIK). You can get a list of certificates or download certificates as a raw data, not JSON formatted. You would need to use Monitoring branch of requests, not Objects branch of cmdb:

    GET /api/v2/monitor/system/available-certificates/select/

    GET /api/v2/monitor/system/certificate/download?mkey=Fortinet_Factory&type=local&scope=global

     

    Using cmdb branch you can import certs, generate CSR, import CRL etc.

     

    yurisk.info - all things Fortinet blog, no ads
    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.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!