ModernPentestModernPentest
Applications

List applications

Returns a paginated list of all active applications in your organization.

Required permission: applications:read

GET
/api/v1/applications

Authorization

ApiKeyAuth
X-API-Key<token>

API key for authentication. Create API keys in Settings > API Keys. Format: mpt_<32 hex characters>

In: header

Query Parameters

limit?integer

Maximum number of items to return

Default20
Range1 <= value <= 100
offset?integer

Number of items to skip for pagination

Default0
Range0 <= value
environment?string

Filter by environment

Value in"production" | "staging" | "development" | "testing"
criticality?string

Filter by criticality level

Value in"critical" | "high" | "medium" | "low"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.modernpentest.com/api/v1/applications"
{
  "applications": [
    {
      "id": "k57abc123def456",
      "name": "Production API",
      "url": "https://api.example.com",
      "description": "Main production API server",
      "environment": "production",
      "criticality": "critical",
      "tags": [
        "api",
        "backend"
      ],
      "created_at": 1734567890000,
      "updated_at": 1734571490000,
      "is_active": true,
      "security_metrics": {
        "overall_score": 85,
        "risk_score": 25,
        "compliance_score": 90,
        "last_scan_at": 1734567890000,
        "vulnerability_counts": {
          "critical": 0,
          "high": 2,
          "medium": 5,
          "low": 3,
          "info": 10
        }
      },
      "health_check": {
        "status": "healthy",
        "last_check": 1734571490000,
        "response_time": 245
      }
    }
  ],
  "pagination": {
    "total": 5,
    "limit": 20,
    "offset": 0,
    "has_more": false
  }
}
{
  "error": {
    "code": "UNAUTHENTICATED",
    "message": "Invalid or missing API key",
    "timestamp": 1734567890000
  }
}
{
  "error": {
    "code": "FORBIDDEN",
    "message": "Missing required permission: applications:read",
    "timestamp": 1734567890000
  }
}
{
  "error": {
    "code": "RATE_LIMIT_EXCEEDED",
    "message": "Rate limit exceeded. Try again in 45 seconds.",
    "timestamp": 1734567890000
  }
}
{
  "error": {
    "code": "INTERNAL_ERROR",
    "message": "An unexpected error occurred",
    "timestamp": 1734567890000
  }
}

Last updated: February 1, 2026