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>'
[
  {
    "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

Maximum array length: 1000
name
string
required
Example:

"My Workspace"

id
integer
Example:

7534842

description
string
Example:

"My Workspace description"

scan_count
integer
Example:

10

target_count
integer
Example:

4