> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voyantcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Transport Configs

> List reusable transport configuration templates for a product.

## Method

`GET` `/v1/products/:id/transport/configs`

## Path Parameters

<ParamField path="id" type="uuid">Product ID whose transport configs should be listed.</ParamField>

## Headers

<ParamField header="Authorization" type="string">Bearer token (requires `products:read`).</ParamField>

## Request Example

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.voyantcloud.com/v1/products/prod_123/transport/configs" \
    -H "Authorization: Bearer $VOYANT_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const res = await fetch("https://api.voyantcloud.com/v1/products/prod_123/transport/configs", {
    headers: { Authorization: `Bearer ${process.env.VOYANT_API_KEY}` },
  })
  const { data } = await res.json()
  ```

  ```python Python theme={null}
  import os, requests

  resp = requests.get(
    "https://api.voyantcloud.com/v1/products/prod_123/transport/configs",
    headers={"Authorization": f"Bearer {os.environ['VOYANT_API_KEY']}"},
  )
  data = resp.json()["data"]
  ```
</RequestExample>

## Response

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "data": [
      {
        "id": "cfg_001",
        "product_id": "prod_123",
        "key": "default-coach",
        "name": "Coach transfer",
        "description": "Coach transfer between airport and hotel",
        "created_at": "2025-01-05T10:22:41.000Z",
        "updated_at": "2025-01-07T09:13:02.000Z",
        "legs": [
          {
            "id": "cfg_leg_001",
            "config_id": "cfg_001",
            "seq": 1,
            "mode_id": "mode_bus",
            "operator_org_id": "org_transport",
            "from_place_id": "ChIJ8UNwppk4j4ARzWPaN9xq_9o",
            "to_place_id": "ChIJGaK-SZcYtUYR0Y1DSXB6QrM",
            "airline_code": null,
            "flight_number": null,
            "cabin_class": null,
            "fare_class_code": null,
            "duration_minutes": 45,
            "luggage": { "checked_bag": 1 }
          }
        ]
      }
    ]
  }
  ```
</ResponseExample>

<Tip>
  Configs are returned with their legs ordered by `seq`. Use the `key` field to reference a config when applying templates in your own workflows.
</Tip>
