Ethiack Docs
Pentests

Upload a finding attachment

POST
/v1/pentests/{pentest_slug}/findings/attachments

Store a file the caller will reference from a later submission.

Reserved for machine integrators.

AuthorizationBearer <token>

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

In: header

Path Parameters

pentest_slug*string

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

attachment*string

The file to upload.

Response Body

application/json

application/json

curl -X POST "https://api.ethiack.com/v1/pentests/string/findings/attachments" \  -F attachment="string"
{
  "attachment_id": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}