SendMessage using API

DM
Dheeraj Mutha
Michaels Inc.

I have been reading through these forums and finding a lot of help regarding API request. So far I'm able to request my API token via PS and use it for device management!  

I need the proper syntax to SendMessage action so that I can send a message to all the devices in a specific group. Please provide the syntax.

When I use the below it does not work - 

{
"Action": "SendMessage"
}

5 years ago
SOTI MobiControl
ANSWERS
D
DDMOD@SOTI
5 years ago

Hi Dheeraj,

Thanks for posting an interesting question!

How exactly are you sending the above script? Are you trying this from MobiControl API page?

When you execute the API, what do you get on the page? any status code?

If possible, can you please send the screenshot of it?

Regards,

DM
Dheeraj Mutha
5 years ago

No, the ask is, if you a example to send a message using the API than please do share.

D
DDMOD@SOTI
5 years ago
KD
Krati Dwivedi
5 years ago

Test