Add Evidence
Attach evidence to an existing punishment.
Attach evidence to an existing punishment record. Evidence can be any URL pointing to screenshots, videos, logs, or other supporting material.
Requires the X-API-Key header with your server's API key.
| Header | Type | Required | Description |
|---|
X-API-Key | string | Yes | Your server's API key. |
Content-Type | string | Yes | Must be application/json. |
| Parameter | Type | Required | Description |
|---|
punishmentId | string | Yes | The ID of the punishment to attach evidence to. |
| Field | Type | Required | Description |
|---|
issuerName | string | Yes | The name of the staff member attaching the evidence. |
evidenceUrl | string | Yes | URL pointing to the evidence (screenshot, video, etc.). |
{
"issuerName": "StaffMember",
"evidenceUrl": "https://example.com/evidence/screenshot-2025-01-15.png"
}
{
"success": true,
"message": "Evidence attached successfully."
}
| Field | Type | Description |
|---|
success | boolean | Whether the evidence was attached successfully. |
message | string | A human-readable success message. |
| Status Code | Description |
|---|
400 | Invalid request body, missing required fields, or invalid URL. |
401 | Missing or invalid API key. |
404 | Punishment not found. |