Bans API
Advanced and powerful global ban list API
Last updated
Advanced and powerful global ban list API
Last updated
POST
https://api.ksoft.si/bans/add
This endpoint allows you to add bans to the list. If you don't have BAN_MANAGER
permission your ban will be automatically converted to a ban report and we will take a look and act accordingly.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.ksoft.si/bans/info
Get more information about a ban
GET
https://api.ksoft.si/bans/check
Simple way to check if the user is banned
DELETE
https://api.ksoft.si/bans/delete
Delete a ban, only users with BAN_MANAGER
permission can use this.
GET
https://api.ksoft.si/bans/list
Pagination of bans, you can request up to 1000 records per page, default is 20.
GET
https://api.ksoft.si/bans/updates
Gets updates from the previous update
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization
string
Authentication token
user
number
Users Discord ID that you are banning/reporting
mod
number
Users Discord ID who posted/reported the ban
user_name
string
Users Discord username
user_discriminator
number
Users Discord discriminator
reason
string
Reason why user should be globally banned
proof
string
URL of the image showing the act
appeal_possible
boolean
If appeal should be disabled for that user.
user
number
Users Discord ID who's ban you'd like to check
Authorization
string
Authentication token
user
number
Users Discord ID that you'd like to check
Authorization
string
Authentication token
user
number
Users Discord ID
force
boolean
Default: false, if true it deletes the entry from the database instead of deactivating
Authorization
string
Authentication token
page
integer
Page number (default: 1)
per_page
integer
Number of bans per page (default: 20)
Authorization
string
Authentication token
timestamp
number
timestamp in seconds from 1.1.1970 (epoch time)
Authorization
string
Authentication token