Fortinet black logo

Online Help

Generate API Credential

Copy Link
Copy Doc ID df548089-ec91-11ee-8c42-fa163e15d75b:585481

Generate API Credential

FortiCASB REST API resources are free and available 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 FortiCASB with your account.
  2. Click on Switch Company from the top right hand side.
  3. In Company, click Manage Company to access company setting.
  4. Click on API Setting tab.
  5. Click Generate New to generate a new API credential.
  6. Enter a name for the new credential and click Generate Credential.
  7. Copy down the credential to be used to call any FortiCASB API later.
  8. Note: The credential will only be shown once, please keep it at a private and secured place.

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

Generate API Credential

FortiCASB REST API resources are free and available 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 FortiCASB with your account.
  2. Click on Switch Company from the top right hand side.
  3. In Company, click Manage Company to access company setting.
  4. Click on API Setting tab.
  5. Click Generate New to generate a new API credential.
  6. Enter a name for the new credential and click Generate Credential.
  7. Copy down the credential to be used to call any FortiCASB API later.
  8. Note: The credential will only be shown once, please keep it at a private and secured place.

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