Cumulocity · AsyncAPI Specification
Cumulocity MQTT and SmartREST API
Version 10.20.0
Constrained-device MQTT broker fronting the Cumulocity REST API with a CSV-based SmartREST 2.0 payload format that saves up to 80% of mobile traffic versus JSON. Supports static templates for common operations (s/us topic family) and tenant-defined custom templates.
View Spec
View on GitHub
IoTInternet of ThingsIndustrial IoTAIoTDevice ManagementDigital TwinMQTTEdge ComputingStreaming AnalyticsData LakeAsyncAPIEventsMQTT
Channels
s/us
Publish a SmartREST 2.0 static-template message.
SmartREST 2.0 static templates - device-to-cloud upstream messages (measurements, events, alarms, device identity, child device registration, software/firmware/configuration reporting).
s/ds
Subscribe to operations delivered as SmartREST 2.0 static-template messages.
SmartREST 2.0 static templates - cloud-to-device downstream messages (operations such as restart, firmware update, software update, configuration, shell command).
s/uc/{templateXId}
Publish a SmartREST 2.0 custom-template message.
SmartREST 2.0 custom templates - device-to-cloud upstream messages using a tenant-defined template identified by X-ID.
s/dc/{templateXId}
Subscribe to custom-template operations.
SmartREST 2.0 custom templates - cloud-to-device downstream messages.
s/e
Subscribe to error notifications.
Error channel — devices subscribe to receive parse errors and operation rejection notifications.
Messages
SmartRestMessage
SmartREST 2.0 Message
A SmartREST 2.0 line — comma-separated values prefixed with a numeric template ID.
ErrorMessage
SmartREST Error
Servers
mqtts
production-tls
{tenant}.cumulocity.com:8883
TLS-secured MQTT 3.1.1/5.0 endpoint (recommended). 16 KiB max payload.
mqtt
production-plain
{tenant}.cumulocity.com:1883
Plain MQTT endpoint (not recommended for production).
AsyncAPI Specification
Work with this as data
Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.