Ethiack Docs
Events

Create an event (deprecated path)

POST
/v1/events/

Deprecated: use POST /v1/pentests/ instead.

Create a pentest in draft: continuous, or an ordered SWIFT / DEPTH.

Conflicts (HTTP 409) when the organization is already running as many continuous pentests as its subscription meters.

With category, a fixed-price SWIFT / DEPTH pentest whose cost is reserved as pending debits. Nothing is charged and the balance is not checked yet; that happens on start.

Either way the pentest is left in draft: POST {slug}/start is what puts it to work.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.ethiack.com/v1/events/" \  -H "Content-Type: application/json" \  -d '{    "organization_id": 0,    "add_assets": true,    "launch_recon": true,    "end_date": "2019-08-24T14:15:22Z",    "name": "string",    "category": "SWIFT"  }'
{
  "code": 0,
  "description": "string",
  "id": 0,
  "success": true
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}