Skip to content
Hoody.com

The HTML5 Display client is a browser-based interface for connecting to and interacting with a Hoody display session. This page documents the connection and general access parameters accepted by the standardized GET /api/v1/display/ endpoint. Use these query parameters to override hostname-based configuration and customize how the client connects to the display server.

Other URL parameters accepted by this endpoint (toolbar, decorations, encoding, clipboard, file transfer, and so on) are documented on separate pages.

GET /api/v1/display/

Serves the HTML5 Display client web interface with optional URL-based configuration. This is the standardized API version of the root endpoint, intended for RESTful API compliance, versioned client access, and API gateway integrations. The endpoint accepts the same URL parameters as the root endpoint for full client customization.

For example:

Terminal window
https://domain.com/api/v1/display/?displayId=10&readonly=true&decorations=false
NameInTypeRequiredDescription
displayIdqueryintegerNoDisplay ID to use (overrides the *-display-N.* hostname pattern). Valid range: 1-999999
nodequerystringNoHoody node identifier (e.g., example-1, example-2)
project_idquerystringNoHoody project ID
container_idquerystringNoHoody container ID
url_display_idquerystringNoDisplay ID for URL construction
sslquerybooleanNoUse SSL/TLS for WebSocket connection. Default: true
webtransportquerybooleanNoUse WebTransport (HTTP3) instead of WebSocket. Default: false
soundquerybooleanNoEnable audio forwarding. Default: true
audio_codecquerystringNoPreferred audio codec
reconnectquerybooleanNoAuto-reconnect on connection loss. Default: true

HTML5 Display client interface loaded successfully.

{
"description": "HTML5 Display client interface loaded successfully",
"content": {
"text/html": {
"schema": {
"type": "string"
},
"example": "<!DOCTYPE html>\n<html>\n<head><title>Hoody Display Client</title></head>\n<body>\n <!-- Display HTML5 client interface -->\n</body>\n</html>\n"
}
}
}
import { HoodyClient } from 'hoody-sdk';
const client = new HoodyClient({ baseURL: 'https://{projectId}-{containerId}-display-1.{server}.containers.hoody.com', token: process.env.HOODY_TOKEN });
await client.display.accessClient({ displayId: 10, sound: true, audio_codec: 'opus', reconnect: true });