GuestConfig¶
Checks guest-session availability for the brand resolved from the HTTP request hostname. The response is false when the brand is unavailable or guest access is disabled or misconfigured.
Endpoint¶
GET /session/guest/config
No bearer token is required, and this endpoint has no request body. The hostname must resolve to a configured brand. This endpoint is available over HTTP only.
Success response¶
{
"guest_enabled": true
}
Response Parameters¶
| Field | Type | Description |
|---|---|---|
guest_enabled |
boolean | True only when the resolved brand is admitted, guest access is enabled, and its configured guest group exists, belongs to that brand, and is enabled. |
Errors¶
| HTTP | Error | Description |
|---|---|---|
| 403 | GUEST_TRANSPORT_REQUIRED |
The request did not use HTTP. |
| 404 | BRAND_NOT_FOUND |
The request hostname does not resolve to a configured brand. |
| 503 | GUEST_UNAVAILABLE |
Guest service failed unexpectedly. |