MQTT

MQTT API

This API is used to push the data to the mqtt topic for the given device. The device should be configured as mqtt otherwise it will throw an error

API URL : https://apiv.apirodata.io/v0/protocol/mqtt

// Sample Payload

{
    "message": <mqtt_msg>,
    "device_imei": <device_imei>, 
    "device_uid": <device_uid>, 
    "added_at": added_at 
}

Explanation:

mqtt_msg: This is the actual message emitted by the sensor or IoT device

device_imei: Device Imei number entered while creating the device

device_uid: Device UID. Get this value from the device detail section (Refer here)

added_at (Optional): Used to push the previous data. If not passed by default it will take current time

Last updated