API Introduction
The AIPTx API provides programmatic access to all platform features, enabling you to integrate AI-powered penetration testing into your workflows.Base URL
All API requests should be made to:Authentication
The AIPTx API uses Bearer token authentication. Include your API key in theAuthorization header:
Getting Your API Key
- Log in to the AIPTx Dashboard
- Navigate to Settings → API Keys
- Click Generate New Key
- Copy and securely store your key
Request Format
Headers
All requests should include:Request Body
POST and PUT requests accept JSON bodies:Response Format
All responses are returned in JSON format:Error Responses
Errors follow a consistent format:HTTP Status Codes
Rate Limits
API requests are rate limited based on your plan:
Rate limit headers are included in every response:
Pagination
List endpoints support pagination:Versioning
The API is versioned via the URL path (/v1/). We maintain backward compatibility within major versions. Breaking changes will be introduced in new major versions with advance notice.