Notify an event to a specific workflow run’s waiters.
This endpoint sends an event notification to waiters within a specific workflow run. Unlike the general notify endpoint, this uses a “safe notify” mechanism that guarantees delivery even if no waiter is currently active.
Safe Notify Behavior:
Workflow calls (with Upstash-Workflow-RunId header) are exempt from daily quota limits.
QStash authentication token
The workflow run ID to notify.
The event ID that waiters are listening for.
The event data to send to the waiter. This will be the request payload for the waiting workflow step.
The body is of type object.
Event notification sent or saved successfully
The waiter that was notified.
The ID of the notification message that was published.
Whether this notification was deduplicated.
Error message if the notification failed.
The workflow run ID if the notification was sent within a workflow.
The timestamp when the workflow run was created (Unix timestamp in milliseconds).