Skip to main content

List Sites

Get a list of all sites in your PortSwigger instance.

External Documentation

To learn more, visit the PortSwigger documentation.

Example Output

{
"data": {
"site_tree": {
"sites": [
{
"id": "81",
"parent_id": "0",
"name": "Global"
},
{
"id": "82",
"parent_id": "1",
"name": "Northern US"
},
{
"id": "38",
"parent_id": "1",
"name": "Southern US"
},
{
"id": "39",
"parent_id": "3",
"name": "UK"
}
],
"folders": [
{
"id": "0",
"parent_id": null,
"name": "All Sites"
},
{
"id": "1",
"parent_id": "0",
"name": "US Sites"
},
{
"id": "2",
"parent_id": "0",
"name": "Europe Sites"
},
{
"id": "3",
"parent_id": "2",
"name": "UK Sites"
}
]
}
}
}

Workflow Library Example

List Sites with Portswigger and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop