Getting Started

This page will help you get started with Meshblu Websocket. You'll be up and running in a jiffy!

Establish a websocket connection to Meshblu at wss://

var ws = new WebSocket("wss://");

All messages are simple JSON frames: [type, data, ...]



Identity is required

Identity is required as the first step when using the websocket api. You also must wait for the ready message to be emitted. Any messages passed in that require authentication will fail. See the identity documentation for more details.