IoT messaging

Move device messages
at the speed of work.

A managed MQTT service for device-to-device communication, message delivery and status synchronization. Standard MQTT support keeps the connection familiar.

Quick start

Three steps to connect.

STEP 01

Enable store IoT

In Factory settings → Module management, enable the Store IoT module.

STEP 02

Create an MQTT account

Open IoT → MQTT, then create an account with a username and password.

STEP 03

Buy the service

Use the online purchase flow. The service is listed at CNY 10 per month in the source product page.

Connection profile

mqtt.apifm.com

Use the protocol that matches your device and network environment.

MQTT

Port 1883 · Standard TCP

MQTTS

Port 8883 · SSL/TLS encryption

WS / WSS

Ports 8083 / 8084 · WebSocket

HTTP API

Send a message without an MQTT client

POST https://common.apifm.com/apifmUser/iotMqtt/sendMsg

curl -X POST https://common.apifm.com/apifmUser/iotMqtt/sendMsg \
  -H "Authorization: Basic YOUR_AUTH_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"username":"your_mqtt_username","content":"Hello MQTT!"}'
Compatibility

Use the client libraries your team already knows.

The source service includes examples for Python, JavaScript / Node.js, Java, PHP, C, Arduino and Go.

Connected product interface