Skip to content
Console

Hub Endpoints

A hub endpoint is the network address a client uses after Thalovant creates its identity.

Public hubs expose only the protocols enabled for that hub. WSS is the default public path. HTTPS and MQTT are optional.

Endpoint typeBest for
WSSRealtime clients, event listeners, voice flows, and agents.
HTTPSOne request, one response, health checks, CLIs, server jobs, and tests.
MQTT over TLSBroker-mediated device, edge, or network-constrained traffic.
Same identityAll transports use the same client identity and access policy.

The SDKs prefer explicit data-plane endpoints when the identity includes them.

{
"data_plane_endpoints": {
"wss": "wss://jokes.thalovant.io/public",
"https": "https://jokes.thalovant.io/public",
"mqtt": "mqtts://mqtt.thalovant.com:8883"
},
"protocols": {
"wss": { "enabled": true },
"http": { "enabled": true },
"mqtt": { "enabled": true }
}
}

Older or minimal identities may use these fields:

FieldMeaning
default_masterHub host or full HTTPS address.
default_portPort to use when the host does not already include one.
default_pathOptional path prefix used by routed public hubs.

Choose WSS first when the client can keep a connection open.

Live agent

An agent keeps a session active and reacts to replies, policy events, or display updates.

Voice flow

A voice client sends utterances and listens for speech responses.

Event subscriber

A client listens for hub events and maps them into an app-specific state model.

Choose HTTPS when the client needs a direct answer and does not need a live socket.

Server task

A job sends one user request, reads the reply, and exits.

CLI

A developer or support tool sends diagnostics and prints the result.

Test client

A test checks auth, endpoint routing, and response parsing.

Choose MQTT when a broker makes the deployment simpler than direct hub traffic.

MQTT uses TLS and per-client credentials. A client identity must include the mqtt block before SDKs can use that transport.

{
"mqtt": {
"endpoint": "mqtts://mqtt.thalovant.com:8883",
"username": "client-access-key",
"password": "client-broker-password",
"topic_prefix": "hubs/hub-id/clients/client-id",
"tls": true
}
}
SymptomCheck first
WSS works but HTTPS failsConfirm HTTPS is enabled for the hub.
HTTPS works but WSS failsConfirm the public hub exposes the WebSocket route and TLS certificate.
MQTT fails immediatelyCreate a fresh client identity after MQTT is enabled on the hub.
Auth fails on every transportRecreate or rotate the client identity in Thalovant.
Requests reach the wrong routeCheck data_plane_endpoints first, then default_path.