Fortinet black logo

Online Help

Generate Credentials

Copy Link
Copy Doc ID 66c81096-fdee-11ea-96b9-00505692583a:984008

Generate Credentials

FortiCWP REST API resources are free of use for development purpose. To use these API resources, an OAuth 2.0 bearer token is required in the Authorization header. One method to get OAuth 2.0 bearer token is to call Get Credentials Token.

Before calling Get Credentials Token API, follow the steps below to generate a credential:

  1. Log into FortiCWP with your account.
  2. Go to Admin > Account from navigation pane, and click on API Setting tab.
  3. In Generate Credentials Name field, enter a name for the credential.
  4. Click Generate Credentials, and copy down the credential.

The generated credential can be used repeatedly as long as it is not revoked on FortiCWP.

Generate Credentials

FortiCWP REST API resources are free of use for development purpose. To use these API resources, an OAuth 2.0 bearer token is required in the Authorization header. One method to get OAuth 2.0 bearer token is to call Get Credentials Token.

Before calling Get Credentials Token API, follow the steps below to generate a credential:

  1. Log into FortiCWP with your account.
  2. Go to Admin > Account from navigation pane, and click on API Setting tab.
  3. In Generate Credentials Name field, enter a name for the credential.
  4. Click Generate Credentials, and copy down the credential.

The generated credential can be used repeatedly as long as it is not revoked on FortiCWP.