Web API - SGTGunner/FiveM-AdministrationPanel GitHub Wiki

API Endpoints (JSON)

Endpoint Details Authorization Method
staff Returns all of users table except if rank is user None GET
players List all unique players who ever joined None GET
servers List all servers None GET
bans List all bans None GET
warns List all warnings None GET
kicks List all kicks None GET
checkban Returns info from the license parameter None GET
cron Cron to update playtime and players CLI GET
warn Add a warning using name, reason, and license parameters Steam & Rank POST
kick Add a kick using name, reason, and license parameters Steam & Rank POST
ban Add a ban using name, length, reason, and license parameters Steam & Rank POST

API Example

https://arthurmitchell.com/staff/api/checkban?license=license:b60077947efe4473eac942fe658011a125a24458
⚠️ **GitHub.com Fallback** ⚠️