Skip to main content
Flow routes define which decision flow should be executed for a given channel and placement combination. When a Recommend API call is made, the platform uses flow routes to determine the appropriate decision flow based on the request’s channel and placement context.
See the Decision Flows feature page for details on how flow routes integrate with the decisioning pipeline.

Base path


List flow routes

Returns all flow routes for the current tenant, ordered by priority (highest first), then creation date (newest first). Each route is enriched with the associated decision flow’s name and key.

Response 200


Create a flow route

Creates or updates a flow route (upsert). The unique key is the combination of tenantId, channelId, and placementId. If a route with the same channel/placement pair exists, it is updated.

Request body

Setting both channelId and placementId to null creates a catch-all route that matches any request without a more specific route.

Example request

Response 201

Returns the created or updated flow route object.

Error codes


Update a flow route

Updates an existing flow route by ID. Only provided fields are changed.

Request body

Response 200

Returns the updated flow route object.

Error codes


Delete a flow route

Deletes a flow route by ID.

Query parameters

Response 200

This endpoint uses soft-delete. The record is marked as deleted but retained in the database.

Error codes


Role requirements