Prerequisites
Obtaining application token and access token
  • To authenticate your API requests and securely connect your application to Beagle Security, you need two types of tokens:
    • Access Token — identifies and authorizes you (the user).
    • Application Token — identifies the specific application you're performing security tests on.
  • Both tokens can be easily generated from your Beagle Security dashboard.
Step 1: Generate Access Token

The access token allows you to interact with Beagle Security APIs on behalf of your account.

To generate one:

  • Log in to your Beagle Security Dashboard.
  • Navigate to Profile -> Personal access token.
  • Click "New Personal Access Token".
  • Provide a name or description for the token and specify the scope of the token.
  • Click Create, and copy the token displayed — it will be shown only once.
Step 2: Generate Application Token

The application token is unique to each application you've added in Beagle Security. It helps the API identify which application's tests or results you want to access.

To generate it:

  • Go to Home -> Applications in your Beagle Security Dashboard.
  • Select the application you want to integrate.
  • Open the setting tab -> Open the Application details tab
  • Click the "Get token" button.
  • Copy the token securely for use in your API requests.