GET
/api/v1/server/infraction-settings
Request
Response
200
Success
Authorization
AuthorizationstringrequiredYour API token as
Bearer YOUR_TOKEN. Create one in your server's dashboard settings.Response
200 Success
autoTermbooleanrequiredWhether reaching the termination threshold removes the member automatically.
flowDataobject[][]requiredPoint thresholds as
[action, points, label].guidelinesobjectrequiredGuidelines by ID. Each has
name, shortDescription, description and points.expireboolean | nullWhether infractions expire.
expireDurationinteger | nullDays until infractions expire.
suspensionDurationinteger | nullDefault suspension length in days.
Errors
| Status | Meaning |
|---|---|
401 | Missing, invalid or expired token |
404 | Infractions are not configured |
429 | Rate limited. See Retry-After and details. |
500 | Internal server error |