cURL
curl --request GET \ --url https://api.defendis.ai/api/v1/exposure/hosts \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": 456, "domainid": 10, "host": "app.example.com", "port": 443, "title": "Example app", "webserver": "nginx", "status_code": 200 } ], "pagination": { "totalPages": 1, "totalRecords": 1, "currentPage": 1, "pageSize": 20 } }
Required for all /api/v1 endpoints. Use Authorization: Bearer <api_key>
x >= 1
Hosts response
Was this page helpful?