Prey icon

Prey

Manage devices and account data in Prey

Device → Trigger Device Action

AI-generated

Summary

Trigger an action on a specified device, such as Alarm, Alert, or Lock, with control over command (Start or Stop) and optional action parameters.

Inputs

  • API Key Permission (required) — Select the API key permission level ('Read-Only' or 'Read & Write') matching your credentials to enable write operations.
  • Device (required) — Select the target device either from a searchable device list or by entering the device ID directly.
  • Device Action (required) — Choose the device action to trigger: Alarm, Alert, or Lock.
  • Command (required) — Select the command to send with the device action, either Start or Stop.
  • Action Options — Optional parameters for the action, including Sound type (Alarm, Modem, Ring, Siren), Alert Message text, Unlock Password, and whether to close apps.

Output shape

a single record

Returns the API response indicating the result of triggering the action on the device. The node executes an HTTP PUT request to the /devices/{deviceId}/action endpoint with the specified parameters.

Links

Discussion