v1
latestOpenAPI 3.1.02026-07-261690320.7 KBCreate pentest draft
Create a new draft pentest assessment. The project will be created if it doesn't exist. You can either provide existing repository IDs or create a custom repository from a download URL.
post/pentests/assessments/createDraft
Request body
Example request
{
"project_name": "My Security Project",
"domains": [
"https://example.com",
"https://api.example.com"
],
"repository_ids": [
1,
2,
3
]
}Response
The draft assessment has been successfully created
Example response
{
"project_id": 123,
"draft_id": "550e8400-e29b-41d4-a716-446655440000"
}