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

/settings/{key}

First published 3 Oct 20260.1.0Unchanged since publication

Get a setting by key

Who may call it
AdministratorResellerCustomer
Token scope, any of
settingsreadall
Answers200 OK

Requires an administrator token with the settings scope. Returns key and value for any stored setting, including keys listed in secrets by GET /settings. For panel.timezone, value is the server's current time zone, including changes made outside UrbeStack. Returns 404 if the key has no stored value.

Parameters

keypath ·string, matching ^[a-z][a-z0-9_]{0,31}(\.[a-z][a-z0-9_]{0,31}){0,3}$Required

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/settings/panel.port" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "key": "panel.port",
  "value": 8443
}

Errors

3 errors, each a status and a sentence
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-settings-key/