HTTP API

Connect Gatekeeper to websites, Discord bots, dashboards, and other applications.

Base URL

By default the API runs at:

http://127.0.0.1:8123/api/v1

Public and admin API

APIWhat it can do
PublicProvide player and status information, including public profile fields.
Authenticated adminManage players, statuses, profile fields, logs, and configuration.

Admin token

The admin API uses the token in config/gatekeeper/config.json, under:

api.adminApi.token

Keep this token private. It gives access to administrative functions.

Things to build

Exposing the API

The API is bound to localhost by default. If you expose it outside your server, put it behind a TLS reverse proxy. See Security.