Starts a flow

POST {{baseUrl}}/projects/:id/nodes/:nodeId/trigger?userId=<string>

When calling this endpoint with a node id of a node of type inject, this inject node gets triggered and starts the flow. Subsequent nodes of the inject node will receive the message created by the inject node and can again send messages to subsequent nodes.

Request Params

KeyDatatypeRequiredDescription
userIdstring(Required) The id of the user. Usually this is the user's email address. If this parameter does not exist the API tries to extract it from the impersonated token.

Request Body

{"payload"=>"<object>", "topic"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

&quot;&quot;