API operation · auth group
GET
/version
First published 3 Oct 2026
0.1.0Unchanged since publicationGet the UrbeStack and API versions and the web interface URL
Who may call it
AdministratorResellerCustomer
Token scope
AnyAnswers200 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 sentence400Domain name required400Domain name too long400Invalid IPv4 address400Invalid IPv6 address400Invalid domain name400Invalid port400Invalid setting key401Authentication required404Setting '<key>' not foundNo error of this operation matches.
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/