For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/websocket/institutional/confirmation.md.
Confirmation
Message sent from server containing channels and items the user is currently subscribed to.
const socket = new WebSocket("wss://api.truemarkets.co/v1/cefi/market");socket.addEventListener("message", (event) => { console.log(event.data);});- payload
timestamp?stringServer timestamp when the confirmation was generated.
channel?"WEBSOCKET"Channel this message originated from.
"WEBSOCKET"update?stringType of update for the current message.
"SNAPSHOT""UPDATE"status?stringCurrent status of the websocket connection.
"INVALID""ERROR""UNAUTHORIZED""UNAUTHENTICATED""AUTHENTICATED"message?stringOptional detail present when a request failed or when one or more requested items could not be subscribed (compare subscriptions against what you requested). A message asking you to retry in a few moments indicates a transient condition (e.g. the exchange is still syncing its client catalog after a restart), not a denial — resend the same subscription shortly.
subscriptions?array<>List of current subscriptions. For DROPCOPY channel, item_names contains client IDs. HEARTBEAT is listed with empty item_names.
{ "timestamp": "string", "channel": "WEBSOCKET", "update": "SNAPSHOT", "status": "INVALID", "message": "string", "subscriptions": [ { "channel": "INSTRUMENT", "item_names": [ "string" ] } ]}