post
https://api.leanplum.com/api?action=sendMessage
Sends a message (typically a push notification) to one device or user. You must provide a deviceId and/or a userId. If deviceId is provided, the message will be sent to the corresponding device only; if only userId is provided, the message will be sent to all devices of the user with specified userId. If the user/device does not exist, the API request is skipped and a warning will be returned. You can modify this behavior with the createDisposition option (see below).
Messages are queued, so they will be sent after the request completes.
This method requires your production API clientKey.
