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
Key | Datatype | Required | Description |
---|---|---|---|
userId | string | (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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
""