sourhost API

Manage your servers from your own scripts, bots and CI: what the panel does, over HTTP and JSON with a personal API token.

Your first request

Create a token under Settings → API tokens, put it in SOURHOST_TOKEN and check access.

curl "https://sourhost.net/api/v1/me" \
  -H "Authorization: Bearer $SOURHOST_TOKEN"