Skip to main content

Get your API key

availability

Deployment: Invicti Platform on-demand, Invicti Platform on-premises

Part of API fundamentals series

This is part 2 of 5 in the API fundamentals series.
Previous: When to use the API | Next: Authenticate

Before you can interact with the Invicti Platform API, you need two essentials: an API key for authentication and access to the API documentation. This document explains how to get both from the same location in your user settings.

Invicti Platform provides a comprehensive REST API that allows you to access and manage Targets, scans, vulnerabilities, and reports programmatically. This enables you to integrate security testing into your existing tools and workflows.

Generate or copy your API key

Your API key serves as your authentication credential for all API requests. Each user has their own unique API key.

To generate or access your API key:

  1. Click your initials at the top right corner of the page, then select User settings.
Click your initials and select User settings.Click your initials and select User settings.
  1. Click API key in the left-side menu.

  2. For new users: Click Generate new API key to create your first API key.

  3. For existing users: Your current API key is shown as Hidden for security reasons. Click Copy to copy it to your clipboard.

API key is hidden for security reasons.API key is hidden for security reasons.
  1. If you need a new key: Use the trash can icon to delete your current key, then generate a new one.
Keep your API key secure
  • Never share your API key or commit it to version control
  • Regenerate your key if you suspect it has been compromised
  • Use environment variables to store your API key in applications and scripts

Access the API documentation

The interactive API documentation provides detailed information about all available endpoints, request/response formats, and allows you to test API calls directly in your browser.

To access the API documentation:

  1. From the same API key page in your user settings, look for the API documentation section.

  2. Click the link to the API documentation - this opens the interactive Swagger interface in a new tab.

  3. The documentation is organized into sections:

    • Inventory API: Manage targets and applications
    • DAST API: Control dynamic security scanning operations
    • Reports API: Generate and download scan reports

Understand the base URLs

All API requests require a base URL that depends on your deployment type:

Software as a Service (SaaS) deployments:

  • US region: https://platform.invicti.com
  • EU region: https://platform-eu.invicti.com
  • Canada region: https://platform-ca.invicti.com

On-premises deployments:

  • Use the same URL you normally use to access your Invicti Platform interface
  • Example: https://your-company.invicti-instance.com

What's in the API documentation

The interactive documentation includes:

Endpoint details:

  • HTTP methods (GET, POST, PUT, DELETE)
  • Request URLs and required parameters
  • Request body schemas with field descriptions
  • Response formats and status codes

Interactive testing:

  • "Try it out" functionality for each endpoint
  • Pre-filled examples you can execute directly
  • Real responses from your Invicti instance

Next steps

With your API key and documentation access ready, you're prepared to set up authentication:

→ Continue to Authenticate

Complete fundamentals series


Need help?

Invicti Support team is ready to provide you with technical help. Go to Help Center

Was this page useful?