Send Downlink Message
POST https://link.monoz.io/api/v1/{Org-Id}/Publish/Message
This API can be used to send a downlink message to the connected device. The default topic for downlink message shall be published to /< ORGID>/< ICCID>/subArgs
ORG-ID
The unique ID assigned to your organisation
ICCID
Unique ICCID of target device
Topic
Topic can be empty or multiple but must start with a slash (/). For example: /Name1/Name2/..
QoS
Quality of Service, can be 0 or 1.
Message
Downlink message
Format
0 (JSON) or 1 (TEXT).
Response
200Success MessagePublished
200
Response Body
Error boolean
Indicates if there was an error.
StatusCode integer
HTTP status code of the response.
Message string
Message indicating the result of the operation.
401
400
404
500cURL
curl --location 'https://link.monoz.io/api/v1/mti/Publish/Message' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: 3fa36b0e-c88b-45f4-95b9-d77c0e27c07a' \
--data '{
"ICCID": "12345678",
"Topic": "/ABC",
"Message": "XYZ",
"QoS": 0,
"Format": 1
}'
Response
{
"Error": false,
"StatusCode": 200,
"Message": "MessagePublished"
}