---
title: "List flags project connections"
method: GET
path: "/v1/projects/{projectIdOrName}/feature-flags/connections"
tags: ["feature-flags"]
---

# List flags project connections

`GET /v1/projects/{projectIdOrName}/feature-flags/connections`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v1/projects/{projectIdOrName}/feature-flags/connections`
- Auth: HTTP bearer

Lists the flags project connections of a project. By default these are the projects that may read this project's flags; with `role=consumer` these are the projects whose flags this project may read. Connections are within one team and apply across environments. Requires permission to list connections on the selected project.

## Path parameters

- `projectIdOrName` string, required: The project id or name

## Query parameters

- `role` 'source' | 'consumer': List connections where this project is the source (default) or the consumer
- `teamId` string
- `slug` string

## Response `200`

- union
  - object
  - object
    - `data` object[], required
      - `consumerProjectId` string, required
      - `consumerProjectName` string
      - `createdAt` number, required
      - `createdBy` string, required
      - `sourceProjectId` string, required
      - `sourceProjectName` string

## Other responses

- `400`: One of the provided values in the request query is invalid.
- `401`: The request is not authorized.
- `402`: The account is missing a payment so payment method must be updated
- `403`: You do not have permission to access this resource.
- `404`
- `410`

## Changes

- **2026-11-02** `8b798b90939b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/vercel-api/changes/v1/projects/:projectIdOrName/feature-flags/connections/get.md)

---

[API](https://skmtc.dev/vercel/apis/vercel-api.md) - [All operations](https://skmtc.dev/vercel/apis/vercel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vercel/apis/vercel-api/revisions/60686c0e1f6a?raw)
