API

Use Uzcraft from scripts and other tools.

Create a scoped key on the API keys page and send it as Authorization: Bearer. Responses are JSON: {"data": ...} or {"error": {"code", "message"}}.

curl -H "Authorization: Bearer $UZCRAFT_TOKEN" https://panel.example.com/api/projects