Issue MQTT Operator Token
Realtime Chat
Issue MQTT Operator Token
Issue a short-lived MQTT operator token for Transparency Mode.
Use this endpoint from a trusted backend or server-side operator agent. Pass the project API key in the license header. The endpoint has no request body.
The returned token allows the operator to subscribe to user messages and publish replies/presence on the project-scoped transparency MQTT topics.
POST
Issue MQTT Operator Token
Use this endpoint to issue a short-lived MQTT operator token for Transparency Mode.
The token lets your backend or operator agent subscribe to user messages and publish replies through the NavTalk hosted MQTT broker. The endpoint does not require a request body. Pass your project API key in the
Internally, the agent calls:
It then uses the returned
For streaming replies, publish
license header.
Python agent usage
The sample operator agent fetches this token automatically when you pass--api-key:
brokerUrl, projectId, prefix, and token to connect to MQTT.
Topic usage
The response includes ready-to-use topic templates:topics.subscribe: subscribe to user messages, for examplenavtalk/transparent/{projectId}/+/usertopics.reply: publish operator replies, for examplenavtalk/transparent/{projectId}/{sessionId}/replytopics.presence: publish operator online/offline status, for examplenavtalk/transparent/{projectId}/agent/presence
{sessionId} with the session ID from the user message topic.
Reply payload
For a final text reply, publish this JSON to the reply topic:transparent.reply.text.delta messages first, then finish with transparent.reply.text.done.