Knowledge Base / API / API Getting Started
API · 1 min read

API Getting Started

The Servycore API lets you integrate your game server, website, or custom bot with Servycore programmatically. All API endpoints use REST conventions and return JSON responses.

Authentication

The API uses Bearer token authentication via Laravel Sanctum. Include your API token in the Authorization header of every request:

Authorization: Bearer YOUR_API_TOKEN

Creating an API Token

API tokens are managed from your Profile > API Tokens page. You can create tokens with specific permissions scoped to your projects.

API Tokens

API Documentation

For the full list of available endpoints, request/response formats, and detailed usage examples, visit the API Documentation accessible from the Resources menu in the panel navigation.

The API covers:

  • Players — List, view, ban/unban, and manage linked accounts
  • Game Servers — View and update server configuration
  • Commands — Full CRUD for server commands
  • Command Queue — Plugin integration for pending command execution
  • Blog — Create and manage blog posts and categories
  • Support — Manage support tickets and replies
  • Leaderboard — Player stats, wipes, events, heatmaps, and sessions

Notes

  • API tokens are scoped to specific projects
  • All responses are returned in JSON format
  • Discord recheck endpoints have a 1-hour cooldown between requests
  • For detailed endpoint documentation, refer to the API Documentation