Skip to content

Create campaign.

POST
/backend/v1/campaigns

Creates a new campaign. You can specify the campaign's name, description, and associated attacks.

Authorizations

HTTPBearer
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"attacks": [
  
  
{
  
  
  
{
  
  
  
  
"fileId": "string",
  
  
  
  
"name": "string",
  
  
  
  
"severity": 1,
  
  
  
  
"technique": "custom"
  
  
  
}
  
  
}
  
],
  
"description": "string",
  
"name": "string"
}

Responses

Successful Response

application/json
JSON
{
  
"id": "string"
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

Updated at: