Developer Guide

How it Works?

InstaMsg is a real time messaging and connectivity platform for Internet of Things. It provides persistent connectivity and secure two-way messaging between IoT devices and apps.

The platform has been designed specially for Internet of Things, but can be easily used for exchanging messages between web and mobile apps. The real time push messaging is used to interchange messages over raw TCP or Web sockets between Clients running on IoT devices, server (your IoT App) or browser (javascript embedded in your IoT apps web page).

You can use InstaMsg for:

  1. Persistent Connectivity
  2. Push Messaging - Real time message interchange between an IoT device and IoT app e.g. pushing live sensor data to a mobile app.
  3. File Transfer - Real time file transfer to IoT devices e.g. firmware upgrade, script upload
  4. Media Signalling and Streaming - For real time image and video streaming from devices
  5. Streaming debugging logs from remote Clients to you. You can use these logs to debug issues in your Client code (example IoT device embedded code) remotely.

InstaMsg includes the following features:

  • Real Time Messaging- No retry of messages. Deliver immediately or fail. Following messaging patterns are supported:
    • Point to Point : This is used for one to one messaging between clients.​
    • Pub Sub : Client can publish and subscribe messages using persistent long live socket connections, with message acknowledgement as an option.
  • File Uploads/Downloads : Clients can also upload and download a file from other clients.
  • Presence: You can get Online/Offline status of a client.
  • REST API : For interacting with server resources and clients from your IoT application server.
  • Webhooks : An app can register a webhook for messages and presence events.
  • Authentication : Configurable authentication for resources. You can restrict access to which topics a client can subscribe or publish to.
  • Persistence : InstaMsg stores all messages for 30 days.
  • Client Libraries that you can use within your applications (mobile or web) or IoT devices.

Point to Point Messaging


Publish/Subscribe Messaging