POST
/
v2
/
notify
/
{eventId}

Notify workflows waiting for an event to resume them. See our documentation to learn more.

Request

eventId
string
required

Event id to notify

body
string

Event data passed to the notified workflows

Response

The response contains a list of notified waiter objects and id of the message sent as a result of the notify request.

type NotifyResponse = { waiter: Waiter, messageId: string }[]

More information about the Waiter object:

Waiter

If there were no workflows waiting for the event, the result is an empty list.