Notify Workflow Run Event
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:
- If a waiter is currently active, it receives the notification immediately
- If no waiter is active, the notification is saved in the database
- When a waiter becomes active later, it will consume the saved notification
- This ensures events are never lost due to timing issues
1 min read
post/v2/notify/{workflowRunId}/{eventId}
Request example
Response
post/v2/notify/{workflowRunId}/{eventId}
Authorization
1 alternative authorization method available — see the spec for details.
Path parameters
The workflow run ID to notify.
The event ID that waiters are listening for.
Body
application/json · text/plain · application/octet-streamThe event data to send to the waiter. This will be the request payload for the waiting workflow step.
Responses
application/json
Event notification sent or saved successfully
Show child attributesHide child attributes
The URL that is waiting for the event notification.
The HTTP headers to send with the notification.
Show child attributesHide child attributes
The Unix timestamp in seconds when the wait operation times out.
The body to send if the wait times out.
The URL to call if the wait times out.
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).
Error message
Error message
Error message
Error message