Skip to main content
GET
/
api
/
v1
/
exposure
/
subdomains
Subdomains
curl --request GET \
  --url https://api.defendis.ai/api/v1/exposure/subdomains \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "domainid": 10,
      "subdomain": "app.example.com"
    }
  ],
  "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

Subdomains response

data
object[]
pagination
object