Skip to main content
POST
/
violations
/
submit
cURL
curl --request POST \
  --url https://api.bolna.ai/violations/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form violation_id=ce23f363-131a-47fc-8a33-258141a575b0 \
  --form violation_file='@example-file'
{
  "message": "success",
  "state": "submitted"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
violation_id
string
required

The unique identifier of the violation to submit.

Example:

"ce23f363-131a-47fc-8a33-258141a575b0"

violation_file
file
required

The evidence file to attach to the violation (e.g., an image or document).

Response

Violation submitted successfully