ProjectsCreate a project

Create a project

Create a project in an organization where the account has the necessary role.

curl -X POST "https://app.aegisrunner.com/api/v1/projects" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "name": "John Doe",
  "description": "example_string",
  "base_url": "example_string",
  "orgId": "123e4567-e89b-12d3-a456-426614174000",
  "testingAuthorized": true
}'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "John Doe",
  "status": "example_string"
}
POST
/projects
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

AegisRunner account session access token. Complete the supported sign-in, security verification, and two-factor flow as required.

AegisRunner account session access token. Complete the supported sign-in, security verification, and two-factor flow as required.
Content-Typestring
Required

The media type of the request body

Options: application/json
namestring
Required

Project name.

base_urlstring

Configured target website.

Format: uri
orgIdstring

Organization you can administer.

Format: uuid
testingAuthorizedboolean

Attest that the target may be tested. This does not bypass per-scan write controls.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. AegisRunner account session access token. Complete the supported sign-in, security verification, and two-factor flow as required.

Body

application/json
namestring
Required

Project name.

base_urlstring

Configured target website.

orgIdstring

Organization you can administer.

testingAuthorizedboolean

Attest that the target may be tested. This does not bypass per-scan write controls.

Responses

Create a project in an organization where the account has the necessary role. The website field is base_url; account creation and testing authorization are separate steps.

Authenticate with an account session as described in Project and testing API. Use resource IDs available to the same organization and project.

For unattended pipelines, use the separately authenticated CI endpoints.