Documentation / API Response Format / Status Codes

Status Codes

Status Codes for PanelConfig API clients.

The most important status codes are 200, 401, 403, 429, and 500. Future write endpoints may add 201, 202, and 422.

Success

{
  "success": true,
  "message": "PanelConfig API resource loaded.",
  "data": {
    "resource": "domains",
    "items": []
  },
  "timestamp": "2026-06-19T00:00:00+00:00"
}

Error

{
  "success": false,
  "message": "Invalid or expired API token.",
  "errors": [],
  "timestamp": "2026-06-19T00:00:00+00:00"
}

Client Notes

  • Check the HTTP status code first.
  • Then inspect success.
  • Do not assume items exists on every endpoint.
  • Log message values for operator review, but never log tokens.
← Pagination Responses Response Metadata →