Sending message remotely to the beacon

I am trying to send a message to the beacon that looks like this:

Blockquote

curl -X POST ‘https://cloud.estimote.com/v3/lte/user_messages
-u ‘id’:‘pass
-H “Content-Type: application/json”
-d ’
{
“device_identifier”: “f5ea3f85ed562fcde4e2110d14c5ff1f”,
“type”: “stolen”,
“payload”: {
“sync_period”: 120
}
}’

Blockquote

and have this on the mini app:

Blockquote

// alarm mode activated from distance
cloud.onReceive( msg => {
if(msg.type === ‘stolen’) {
sync.setSyncPeriod(msg.payload.sync_period);}

}
);

Blockquote
I get the response in the terminal:

Blockquote

{“data”:{“uuid”:“something”,“device_identifier”:“f5ea3f85ed562fcde4e2110d14c5ff1f”,“type”:“stolen”,“payload”:{“sync_period”:120},“delivered”:false,“delivered_at”:null,“valid_until”:null,“created_at”:“2019-08-14T13:24:59.708Z”,“volatile”:false},“meta”:{}}

Blockquote
Is everything ok with the request?
Is delivered:false showing that the request is not valid or that there is not sync yet?