cURL
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 } ]
Use the "API key" from the profile page as the token
OK
1000
"My Workspace"
7534842
"My Workspace description"
10
4
Was this page helpful?