modl.gg

Add Evidence

Attach evidence to an existing punishment.

POST /v1/minecraft/punishments/{punishmentId}/evidence

Attach evidence to an existing punishment record. Evidence can be any URL pointing to screenshots, videos, logs, or other supporting material.

Authentication

Requires the X-API-Key header with your server's API key.

Request

Headers

HeaderTypeRequiredDescription
X-API-KeystringYesYour server's API key.
Content-TypestringYesMust be application/json.

Path Parameters

ParameterTypeRequiredDescription
punishmentIdstringYesThe ID of the punishment to attach evidence to.

Body

FieldTypeRequiredDescription
issuerNamestringYesThe name of the staff member attaching the evidence.
evidenceUrlstringYesURL pointing to the evidence (screenshot, video, etc.).
Example Request Body
{
  "issuerName": "StaffMember",
  "evidenceUrl": "https://example.com/evidence/screenshot-2025-01-15.png"
}

Response

200 OK

Response
{
  "success": true,
  "message": "Evidence attached successfully."
}
FieldTypeDescription
successbooleanWhether the evidence was attached successfully.
messagestringA human-readable success message.

Error Responses

Status CodeDescription
400Invalid request body, missing required fields, or invalid URL.
401Missing or invalid API key.
404Punishment not found.

On this page