Send Push Notification
AI-generatedSummary
Send a push notification to your iOS or Android devices via the Hookr app using specified title, message, and optional parameters.
Inputs
- Title (required) — The title text of the notification.
- Message (required) — The main content text of the notification.
- Action URL — Optional URL to open when the notification is tapped.
- Time Sensitive — Flag indicating if the notification should be considered time sensitive.
Output shape
a list of JSON objects representing the response from the Hookr API for each sent notification, paired to the corresponding input item
Each output item contains the API response JSON for the push notification request. Errors during sending cause the execution to throw a NodeApiError with relevant status code and message.
Examples
Example 1: Sending a simple notification
Specify 'Title' and 'Message' fields with the notification content. Optionally include 'Action URL' and set 'Time Sensitive' if needed. Execute to send notifications for all input items.