---
title: "List pipeline visibility for a role"
method: GET
path: "/roles/{id}/pipelines"
tags: ["Roles"]
---

# List pipeline visibility for a role

`GET /roles/{id}/pipelines`

Returns the list of either visible or hidden pipeline IDs for a specific role. For more information on pipeline visibility, please refer to the <a href="https://support.pipedrive.com/en/article/visibility-groups" target="_blank" rel="noopener noreferrer">Visibility groups article</a>.

## Path parameters

- `id` integer, required

## Query parameters

- `visible` boolean

## Response `200`

Get either visible or hidden pipeline ids for a role

- object
  - `success` boolean — If the response is successful or not
  - `data` object — The response data
    - `pipeline_ids` number[] — Either visible or hidden pipeline ids
    - `visible` boolean — Whether visible or hidden pipeline ids were returned

---

[API](https://skmtc.net/pipedrive/apis/pipedrive-api-v1.md) · [All operations](https://skmtc.net/pipedrive/apis/pipedrive-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pipedrive/pipedrive-api-v1/versions/bf863a979545/schema)
