Ethiack Docs
Pentests

List pentest scope URLs

GET
/v1/pentests/{pentest_slug}/scope/urls/

List the distinct URLs of the pentest's scoped assets.

Available to any caller authorized for the pentest's scope (not machine-only, unlike the /urls listing).

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

pentest_slug*string

Query Parameters

page?integer
Default1
Range1 <= value
per_page?integer

Page size. Values above 500 are clamped to it (or rejected, per the server configuration).

Default25
Range1 <= value
in_scope?boolean

Include URLs of the pentest's in-scope assets.

Defaulttrue
out_of_scope?boolean

Include URLs of the pentest's out-of-scope assets.

Defaultfalse

Response Body

application/json

application/json

curl -X GET "https://api.ethiack.com/v1/pentests/string/scope/urls/"
{
  "total": 0,
  "page": 0,
  "per_page": 0,
  "_links": {
    "property1": "string",
    "property2": "string"
  },
  "urls": [
    "string"
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}