cURL
curl --request GET \ --url https://app.pentest-tools.com/api/v2/workspaces/{id} \ --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
id of workspace to get
OK
"My Workspace"
7534842
"My Workspace description"
10
4
Was this page helpful?