Skip to main content

API Reference

The Zander REST API is the backbone that connects every component — Minecraft plugins call it to record sessions and relay chat, the Discord bot reads it for punishments and events, and the web dashboard uses it for everything from announcements to voting. If you're building an integration or troubleshooting, this is your reference.

All Minecraft plugins connect to this API to read and write data.

Base URL

https://<your-site>/api

The base URL is set by siteAddress in your .env file.

Response Format

All API endpoints return JSON in the following structure:

Success:

{
"success": true,
"data": { ... }
}

Error:

{
"success": false,
"message": "Error description"
}

Some endpoints return additional pagination metadata (e.g. page, limit) alongside data.

HTTP Status Codes

CodeMeaning
200Success
400Bad request — missing or invalid parameters
401Unauthorised — missing or invalid API token
403Forbidden — feature disabled or permission denied
404Not found
500Internal server error

Authentication

See Authentication for details on how to authenticate API requests.

Endpoint Groups

GroupBase PathDescription
Announcements/api/announcementCreate and manage announcements
Applications/api/applicationManage application listings
Bridge/api/bridgeCommand executor bridge
Command Bridge/command-bridgeVote reward command delivery to plugins
Config/policy, /socialSite configuration and social links
Discord/api/discordMinecraft-to-Discord relay
Discord Punishments/api/discord-punishmentsDiscord punishment records and appeals
Events/api/eventsEvent management
Filter/api/filterContent filtering
Forms/api/formsCustom forms and response management
Punishments/api/punishmentsPunishment log
Ranks/api/rankRank management via LuckPerms
Reports/api/reportPlayer reports
Scheduler/api/schedulerScheduled Discord messages
Servers/api/serverServer registry
Sessions/api/sessionPlayer session tracking
Shop Directory/api/shopIn-game shop listings
Upload/api/uploadImage upload via Cloudinary
Users/api/userUser accounts and profiles
Vault/api/vaultVault entries
Voting/vote, /admin/voteVote tracking and rewards
Watch/api/watchCreator content
Web/api/webSite stats and configuration

Full endpoint details are in Endpoints.