Check if MT SMS was Received
This guide will provide a small guidance on how to check if MT SMS message from portal to your Thing was received successfully.
Before using this API, please make sure that your SIM card profiles and your Monogoto account supports MT SMS functionality
Check if MT SMS was received
POST
https://console.monogoto.io/thing/searchCDR
Headers
Name | Type | Description |
---|---|---|
YOUR_TOKEN* | String | Your authentication token |
CUSTOMER_ID* | String | Customer API key |
Request Body
Name | Type | Description |
---|---|---|
ICCID | String | The ICCID of your SIM |
EVENT_DATA_TYPE | String | The Event message type to be displayed. Read more |
EVENT_MESSAGE_TYPE | String | Replace with the Event message type to be displayed. Read more |
LIMIT | String | Replace with the amount of results you would like to see |
Please note that in order for SMS message to reach a Thing, it must be connected to the network.
Example using cURL:
Please note that the above shown command needs to be replaced with information:
{TOKEN_HERE} - replace with your token
{ICCID} - replace with the ICCID of your SIM
{EVENT_DATA_TYPE} - replace with the Event message type to be displayed. You may find data types list following this link
{EVENT_MESSAGE_TYPE} - replace with the Event message type to be displayed. You may find message types list following this link
{LIMIT} - replace with the number of results you would like to see that are matching your search results. Entering 1 will show the last SMS result.
If needed this API can be tested and used in the Monogoto Console following this path: Thing POST /thing/searchCDR
Example of request:
Example of expected result showing last 1 MT SMS from the portal that was successful:
Please note that in order to know the human date/time please use Epoch time converter. You can find it following this link.
Last updated