Ethiack Docs
Event findings

Upload Finding Attachment

POST
/v1/events/{event_slug}/findings/attachments

Allows machine users to upload attachments for findings.

AuthorizationBasic <token>

Go to https://portal.ethiack.com/settings/api and generate your API keys. Simply use username=key, password=secret.

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

attachment?string

The file to be uploaded as an attachment

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.ethiack.com/v1/events/{event_slug}/findings/attachments" \  -F attachment="string"
{
  "attachment_id": "string"
}
{
  "code": 0,
  "name": null,
  "description": "string",
  "success": false
}
{
  "code": 0,
  "name": null,
  "description": "string",
  "success": false
}
{
  "code": 0,
  "name": null,
  "description": "string",
  "success": false
}
{
  "code": 0,
  "name": null,
  "description": "string",
  "success": false
}