Developers / API Reference

Developer portal / v1

API Reference

Build with Tennessee Management. Explore the routes for the Management and Utilities bots, authenticate requests, and check which services are reachable — all through one API domain.

REST APIJSON responsesBearer JWT authenticationHTTPS required for credentials
●  Infrastructure

API Gateway

Checking…
◈  Bot connection

Management Bot

Checking…
⚙  Bot connection

Utilities Bot

Checking…

Connect to the API

Use this base URL for all public gateway requests. Prefix your bot routes with /bots/management or /bots/utilities to avoid conflicts.

Base URL
https://api.tennesseemanagement.xyz
Example · GET health
curl -i https://api.tennesseemanagement.xyz/api/health

Bot connectivity: An online gateway only confirms this Express app is running. The Management and Utilities routes also require their own backend URLs to be configured and reachable.

Authentication

Each bot authenticates its own requests. Sign in using the appropriate bot's login endpoint and then send the returned JWT as a Bearer token to protected endpoints. The Utilities Bot may instead require Discord OAuth depending on its configuration.

1. Login · Management Bot
curl -X POST https://api.tennesseemanagement.xyz/bots/management/api/admin/login \
  -H "Content-Type: application/json" \
  -d '{"password":"YOUR_DASHBOARD_PASSWORD"}'
2. Authorize · Example request
curl https://api.tennesseemanagement.xyz/bots/management/api/admin/servers \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

Windows PowerShell: The multiline examples use Bash-style \ continuation. In PowerShell use one line, or the PowerShell backtick character for continuation. Never send credentials to a URL that has an invalid HTTPS certificate.

Security: Login endpoints accept POST, not GET. Don't enter credentials into URLs. Don't put your bot tokens, JWT secret, or passwords in this public documentation. Management and Utilities credentials are not interchangeable.

Responses & errors

The gateway forwards JSON responses from the configured bot API. A few errors are generated by the gateway itself.

200
Request succeeded
401 / 403
Missing/invalid authorization or insufficient access
404 / 405
Unknown path or wrong HTTP method
502
Gateway can't reach the bot or received an unexpected response
503
Bot upstream URL is missing from gateway configuration

Endpoints

Search by route, method, service, or description. Expand an endpoint to see a request example. An endpoint appearing here does not guarantee its upstream bot is currently online.

Loading the API catalog…