Skip to main content
GET
/
workspaces
Get all workspaces
curl --request GET \
  --url https://app.pentest-tools.com/api/v2/workspaces \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "name": "My Workspace",
      "id": 7534842,
      "description": "My Workspace description",
      "scan_count": 10,
      "target_count": 4
    }
  ]
}

Authorizations

Authorization
string
header
required

Use the "API key" from the profile page as the token

Response

OK

data
object[]
required
Maximum array length: 1000