Skip to main content
GET
/
workspaces
/
{id}
Get workspace by ID
curl --request GET \
  --url https://app.pentest-tools.com/api/v2/workspaces/{id} \
  --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

Path Parameters

id
integer
required

id of workspace to get

Response

OK

data
object
required