Push Notification → Send
AI-generatedSummary
Sends a push notification to specified recipients.
Inputs
- notificationTitle (required) — Push notification title
- notificationBody (required) — Push notification body message
- shortCode (required) — Content short code
- destinationType (required) — Type of destination for the notification
- users — Comma-separated list of email addresses (e.g., email1@example.com,email2@example.com). Leave empty to send to all users.
- requestOptions — Configuration options for the request (batching, SSL, proxy, timeout)
Output shape
a JSON response indicating success, usually containing an identifier or status message
If the request fails, an error response with HTTP status code is returned; otherwise a simple success payload is returned.
Examples
Example 1: Send a notification to a list of users
notificationTitle=Hello, notificationBody=Update available, shortCode=update123, users=email1@example.com,email2@example.com, destinationType=users-email, requestOptions batching disabled
Example 2: Broadcast to all users
notificationTitle=Promo, notificationBody=Special offer, shortCode=promo456, users= (empty), destinationType=users-email
Example 3: Send with batching enabled
notificationTitle=Batch test, notificationBody=Batch test body, shortCode=batch001, users=all, destinationType=users-email, requestOptions batching with batchSize=100, batchInterval=500