Fortinet white logo
Fortinet white logo

Authentication

Authentication

To initiate requests to the FortiPortal REST API, you need to log in to the FortiPortal. Send a POST request using the following format:

https://<ipaddress>:<port>/fpc/api/login

Parameters (JSON structure in the payload):

  • user: a valid admin user name
  • password: password for the above name

If the login is successful, the response will contain a session ID that must be included in all subsequent API requests.

Authentication

Authentication

To initiate requests to the FortiPortal REST API, you need to log in to the FortiPortal. Send a POST request using the following format:

https://<ipaddress>:<port>/fpc/api/login

Parameters (JSON structure in the payload):

  • user: a valid admin user name
  • password: password for the above name

If the login is successful, the response will contain a session ID that must be included in all subsequent API requests.