ModernPentestModernPentest
Applications

Get application details

Returns detailed information about a specific application, including recent pentests.

Required permission: applications:read

GET
/api/v1/applications/{applicationId}

Authorization

ApiKeyAuth
X-API-Key<token>

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

In: header

Path Parameters

applicationId*string

The application ID

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.modernpentest.com/api/v1/applications/k57abc123def456"
{
  "id": "string",
  "name": "string",
  "url": "string",
  "description": "string",
  "environment": "production",
  "criticality": "critical",
  "tags": [
    "string"
  ],
  "created_at": 0,
  "updated_at": 0,
  "is_active": true,
  "security_metrics": {
    "overall_score": 100,
    "risk_score": 100,
    "compliance_score": 100,
    "last_scan_at": 0,
    "vulnerability_counts": {
      "critical": 0,
      "high": 0,
      "medium": 0,
      "low": 0,
      "info": 0
    }
  },
  "health_check": {
    "status": "healthy",
    "last_check": 0,
    "response_time": 0
  },
  "recent_pentests": [
    {
      "id": "string",
      "status": "pending",
      "started_at": 0,
      "completed_at": 0,
      "vulnerabilities_found": 0
    }
  ],
  "total_open_vulnerabilities": 0
}
{
  "error": {
    "code": "UNAUTHENTICATED",
    "message": "Invalid or missing API key",
    "timestamp": 1734567890000
  }
}
{
  "error": {
    "code": "FORBIDDEN",
    "message": "Missing required permission: applications:read",
    "timestamp": 1734567890000
  }
}
{
  "error": {
    "code": "NOT_FOUND",
    "message": "Application not found",
    "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