---
title: "List routing rules"
method: POST
path: "/routing/list/{merchant_id}"
tags: ["Routing Rules"]
---

# List routing rules

`POST /routing/list/{merchant_id}`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/routing/list/{merchant_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

List all routing rules for a merchant.

## Path parameters

- `merchant_id` string, required

## Response `200`

List of routing rules

- JsonifiedRoutingAlgorithm[]
  - `id` string
  - `created_by` string
  - `name` string
  - `description` string
  - `algorithm_data` object: The stored algorithm, tagged by `type` with the variant payload under `data`. See `RoutingAlgorithm`.
  - `algorithm_for` string
  - `created_at` string
  - `modified_at` string

---

[API](https://skmtc.dev/juspay/apis/decision-engine.md) - [All operations](https://skmtc.dev/juspay/apis/decision-engine/llms.txt) - [OpenAPI document](https://skmtc.dev/juspay/apis/decision-engine/revisions/718ef5ac8634?raw)
