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

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