cURL
curl --request POST \ --url https://app.pentest-tools.com/api/v2/targets \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data name=example.org \ --data 'description=<string>' \ --data workspace_id=123
{ "data": { "created_id": 420323 } }
Documentation IndexFetch the complete documentation index at: https://pentest-tools.com/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://pentest-tools.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Use the "API key" from the profile page as the token
"example.org"
500
Created
Show child attributes
Was this page helpful?