I'm new to Pushwoosh and I'm trying to a specific message to a specific device via php. And the message goes to every device every single time. I have put the device in an array, but it's still not working.
pwCall('createMessage', [ 'application' => PW_APPLICATION, 'auth' => PW_AUTH, 'notifications' => [ [ 'send_date' => 'now', 'content' => 'This is may fake message', 'data' => ['custom' => 'json data']
] ], 'devices' => ['89745897fake0978number96a4389f796173ae938772239558f700aafb24'] ] );
Please sign in to leave a comment.