Get Your API Key
To use the API, generate the API key required for authenticating API calls. Request parameters should be URL encoded when used in HTTP requests.
Get Your API Key
To generate an API key, make a URL request to the firewall’s hostname or IP addresses using the administrative credentials and type=keygen : curl -X GET 'https://firewall/api/?type=keygen&user=username&password=password' A successful API call returns status="success" along with the API key within the key element: <response status="success"> <result> <key>gJlQWE56987nBxIqyfa62sZeRtYuIo2BgzEA9UOnlZBhU</key> </result> </response>
(Optional) Revoke an API key. You can choose to revoke and then change an API key associated with an administrator account by changing the password associated with the administrator account. Any API keys that were generated using the previous credentials would no longer be valid. Generating an API key using the same administrator account credentials returns unique API keys every time, and all of the keys are valid.
Change the master password on your firewall in order to generate a unique API key. If you have not changed the firewall master key from the default, all firewalls with the same username/password will return the same API key.

Related Documentation