Skip to main content
post/v2/notify/{workflowRunId}/{eventId}
Request example
Response
post/v2/notify/{workflowRunId}/{eventId}

Authorization

Authorizationstringheaderrequired#
QStash authentication token

1 alternative authorization method available — see the spec for details.

Path parameters

workflowRunIdstringrequired#
The workflow run ID to notify.
eventIdstringrequired#
The event ID that waiters are listening for.

Body

application/json · text/plain · application/octet-stream
bodyobject#
The 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
waiterobject#
messageIdstring#
The ID of the notification message that was published.
deduplicatedboolean#
Whether this notification was deduplicated.
errorstring#
Error message if the notification failed.
workflowRunIdstring#
The workflow run ID if the notification was sent within a workflow.
workflowCreatedAtinteger#
The timestamp when the workflow run was created (Unix timestamp in milliseconds).