This page is part of archived documentation for openHAB 2.5. Go to the current stable version
# Pushsafer Actions v1
The Pushsafer action allows you to notify iOS, Android & Windows 10 Phone & Desktop devices of a message using the Pushsafer API web service.
The following is a valid action call that can be made when the plugin is loaded. For specific information on each item, see the Pushsafer API (opens new window).
pushsafer(String apiToken, String message, String title, String device, String icon, String vibration, String sound)
You must at least provide an API token (Private or Alias Key from Pushsafer.com (opens new window)) and a message in some manner before a message can be pushed. All other parameters are optional. If you use an alias key, the parameters (device, icon, sound, vibration) are overwritten by the alias setting on pushsafer.