Skip to main content
POST
/
workspaces
Create a workspace
curl --request POST \
  --url https://app.pentest-tools.com/api/v2/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'name=My Workspace' \
  --data 'description=My Workspace description'
{
  "created_id": 420323
}

Authorizations

Authorization
string
header
required

Use the "API key" from the profile page as the token

Body

application/x-www-form-urlencoded
name
string
required
Example:

"My Workspace"

description
string
Example:

"My Workspace description"

Response

Created

created_id
integer
Example:

420323