Create a flow
POST/v1/organizations/:organization_id/flows
Creates a new automation flow for the specified organization. The flow defines execution logic, conditions, and target workspaces. Returns data of the created flow upon successful creation.
Request
Responses
- 201
- 400
- 401
- 404
- 422
- 429
- 500
Flow successfully created. The response contains the created resource.
Invalid request. Common causes: - Mandatory fields are missing - Invalid field values - Invalid condition configuration - Invalid microservice identifier
Unauthorized - authentication required
Organization not found
Unprocessable entity. Common causes: - Referenced microservice not found - Target referenced entities (workspaces, Workspace groups, report groups) not found or do not belong - Invalid condition type - Flow cannot be enabled
Too Many Requests
Internal Server Error