Servers
Manage Hytale game servers and server listings.
Base Endpoint
Section titled “Base Endpoint”All server endpoints are prefixed with /servers
Server Management
Section titled “Server Management”Get All Servers
Section titled “Get All Servers”GET /serversGet all servers with optional filters.
Authentication: Not required
Query Parameters:
search(string, optional) - Search query for server namecategories(array, optional) - Filter by category IDstags(array, optional) - Filter by tag IDssort(string, optional) - Sort order (rank, players, newest)limit(number, optional) - Results per pageoffset(number, optional) - Pagination offset
Response:
{ "servers": [...], "total": 100}Get User Servers
Section titled “Get User Servers”GET /servers/user/:userIdGet all servers owned by a specific user.
Authentication: Optional (shows additional data if authenticated)
URL Parameters:
userId(string) - User ID
Response:
{ "servers": [ { "id": "server-id", "name": "My Server", "slug": "my-server", "ip": "play.example.com", "port": 25565, "onlinePlayers": 50, "maxPlayers": 100, "rank": 1, "logoUrl": "https://...", "bannerUrl": "https://..." } ]}Create Server
Section titled “Create Server”POST /serversCreate a new server listing.
Authentication: Required
Request Body:
{ "name": "My Server", "slug": "my-server", "shortDescription": "A great server", "description": "Full markdown description", "ip": "play.example.com", "port": 25565, "categoryIds": ["cat-id-1"], "tagIds": ["tag-id-1", "tag-id-2"], "ownerId": "user-or-team-id", "ownerType": "USER"}Owner Types: USER, TEAM
Get Server by Slug
Section titled “Get Server by Slug”GET /servers/slug/:slugGet a server by its unique slug.
Authentication: Optional
URL Parameters:
slug(string) - Server slug
Response:
{ "id": "server-id", "name": "My Server", "slug": "my-server", "shortDescription": "A great server", "description": "Full description", "ip": "play.example.com", "port": 25565, "logoUrl": "https://...", "bannerUrl": "https://...", "onlinePlayers": 50, "maxPlayers": 100, "rank": 5, "categories": [...], "tags": [...], "owner": {...}}Update Server
Section titled “Update Server”PATCH /servers/:idUpdate server details.
Authentication: Required (must be owner or team member)
URL Parameters:
id(string) - Server ID
Request Body: (all fields optional)
{ "name": "Updated Name", "shortDescription": "Updated description", "description": "Updated full description", "ip": "new.example.com", "port": 25565, "categoryIds": ["cat-id"], "tagIds": ["tag-id"]}Transfer Server Ownership
Section titled “Transfer Server Ownership”POST /servers/:id/transfer-ownershipTransfer server ownership to another user or team.
Authentication: Required (must be current owner)
URL Parameters:
id(string) - Server ID
Request Body:
{ "newOwnerId": "user-or-team-id", "ownerType": "USER"}Owner Types: USER, TEAM
Response:
{ "message": "Server ownership transferred successfully", "server": { "id": "server-id", "ownerId": "new-owner-id", "ownerType": "USER" }}Delete Server
Section titled “Delete Server”DELETE /servers/:idDelete a server listing.
Authentication: Required (must be owner)
URL Parameters:
id(string) - Server ID
Server Assets
Section titled “Server Assets”Upload Server Logo
Section titled “Upload Server Logo”POST /servers/:id/logoUpload a logo image for a server.
Authentication: Required (must be owner or team member)
Content-Type: multipart/form-data
URL Parameters:
id(string) - Server ID
Form Data:
logo(file) - Image file (PNG, JPG, WEBP)
Upload Server Banner
Section titled “Upload Server Banner”POST /servers/:id/bannerUpload a banner image for a server.
Authentication: Required (must be owner or team member)
Content-Type: multipart/form-data
URL Parameters:
id(string) - Server ID
Form Data:
banner(file) - Image file (PNG, JPG, WEBP)
Delete Server Logo
Section titled “Delete Server Logo”DELETE /servers/:id/logoDelete the server logo.
Authentication: Required (must be owner or team member)
URL Parameters:
id(string) - Server ID
Delete Server Banner
Section titled “Delete Server Banner”DELETE /servers/:id/bannerDelete the server banner.
Authentication: Required (must be owner or team member)
URL Parameters:
id(string) - Server ID
Moderation
Section titled “Moderation”Approve Server
Section titled “Approve Server”POST /servers/moderation/:id/approveApprove a pending server.
Authentication: Required (Admin or Moderator)
URL Parameters:
id(string) - Server ID
Request Body:
{ "notes": "Optional moderation notes"}Reject Server
Section titled “Reject Server”POST /servers/moderation/:id/rejectReject a pending server.
Authentication: Required (Admin or Moderator)
URL Parameters:
id(string) - Server ID
Request Body:
{ "reason": "Reason for rejection", "notes": "Additional notes"}Suspend Server
Section titled “Suspend Server”POST /servers/moderation/:id/suspendSuspend a server.
Authentication: Required (Admin or Moderator)
URL Parameters:
id(string) - Server ID
Request Body:
{ "reason": "Reason for suspension", "notes": "Additional notes"}Social Links
Section titled “Social Links”Get Server Social Links
Section titled “Get Server Social Links”GET /servers/:id/social-linksGet all social links for a server.
Authentication: Not required
URL Parameters:
id(string) - Server ID
Response:
{ "socialLinks": [ { "id": "link-id", "platform": "DISCORD", "url": "https://discord.gg/...", "order": 0 } ]}Platforms: DISCORD, TWITTER, YOUTUBE, TWITCH, WEBSITE, OTHER
Create Social Link
Section titled “Create Social Link”POST /servers/:id/social-linksAdd a social link to a server.
Authentication: Required (must be owner or team member)
URL Parameters:
id(string) - Server ID
Request Body:
{ "platform": "DISCORD", "url": "https://discord.gg/..."}Update Social Link
Section titled “Update Social Link”PATCH /servers/:id/social-links/:linkIdUpdate a social link.
Authentication: Required (must be owner or team member)
URL Parameters:
id(string) - Server IDlinkId(string) - Social link ID
Request Body:
{ "platform": "DISCORD", "url": "https://discord.gg/new-invite"}Delete Social Link
Section titled “Delete Social Link”DELETE /servers/:id/social-links/:linkIdDelete a social link.
Authentication: Required (must be owner or team member)
URL Parameters:
id(string) - Server IDlinkId(string) - Social link ID
Reorder Social Links
Section titled “Reorder Social Links”PATCH /servers/:id/social-links/reorderReorder social links.
Authentication: Required (must be owner or team member)
URL Parameters:
id(string) - Server ID
Request Body:
{ "linkIds": ["link-id-1", "link-id-2", "link-id-3"]}