Skip to main content
GET
/
api
/
v1
/
exposure
/
ports
Ports
curl --request GET \
  --url https://api.defendis.ai/api/v1/exposure/ports \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 789,
      "domainid": 10,
      "host": "app.example.com",
      "ip": "203.0.113.10",
      "port": 443,
      "service": "https",
      "status": "open",
      "protocol": "tcp",
      "tls": true
    }
  ],
  "pagination": {
    "totalPages": 1,
    "totalRecords": 1,
    "currentPage": 1,
    "pageSize": 20
  }
}

Authorizations

Authorization
string
header
required

Required for all /api/v1 endpoints. Use Authorization: Bearer <api_key>

Response

200 - application/json

Ports response

data
object[]
pagination
object