API Overview
NetRecon exposes a REST API for integrating with external tools, building custom dashboards, and automating network security workflows. All microservices are accessible through a single API Gateway.
For a complete list of every endpoint grouped by category, see the Endpoint Reference.
Base URL
All API requests go through the API Gateway:
https://probe.netreconapp.com/api/
For self-hosted deployments, the base URL follows the pattern:
https://netrecon.yourcompany.com/api/
The gateway handles authentication, rate limiting, RBAC enforcement, and request routing to the appropriate backend service.
Authentication
All API endpoints (except /api/health and /health) require a JWT Bearer token.
Obtaining a Token
curl -X POST https://probe.netreconapp.com/api/auth/login \
-H "Content-Type: application/json" \
-d '{
"username": "admin",
"password": "your-password"
}'
Response:
{
"access_token": "eyJhbGciOiJIUzI1NiIs...",
"token_type": "bearer",
"expires_in": 86400
}
Using the Token
Include the token in the Authorization header on every request:
curl https://probe.netreconapp.com/api/devices \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."