# GET /version

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the auth group.

Get the UrbeStack and API versions and the web interface URL

- Who may call it: administrator, reseller, customer
- Token scope: any
- Answers: 200 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

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
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

- 400: Domain name required
- 400: Domain name too long
- 400: Invalid IPv4 address
- 400: Invalid IPv6 address
- 400: Invalid domain name
- 400: Invalid port
- 400: Invalid setting key
- 401: Authentication required
- 404: Setting '<key>' not found
