Get your free beta license ↗
API operation · auth group
GET

/version

First published 3 Oct 20260.1.0Unchanged since publication

Get the UrbeStack and API versions and the web interface URL

Who may call it
AdministratorResellerCustomer
Token scope
Any
Answers200 OK

The response includes the server's Linux distribution and the web interface hostname, port, and HTTPS URL in panel. The hostname comes from panel.hostname and defaults to the system hostname. UrbeStack lowercases the hostname, removes a trailing dot, and uses localhost if the hostname is invalid.

The port comes from panel.port and defaults to 8443. The installer may have set a different port. Use panel.url as the base for links to the web interface.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/version" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "api": "1.0.0",
  "name": "alice",
  "os": "text",
  "panel": {
    "host": "text",
    "port": 8443,
    "url": "text"
  },
  "version": "0.0.1"
}

Errors

9 errors, each a status and a sentence
400Domain name required
400Domain name too long
400Invalid IPv4 address
400Invalid IPv6 address
400Invalid domain name
400Invalid port
400Invalid setting key
401Authentication required
404Setting '<key>' not found
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/get-version/