---
title: "List role assignments"
method: GET
path: "/roles/{id}/assignments"
tags: ["Roles"]
---

# List role assignments

`GET /roles/{id}/assignments`

Returns all users assigned to a role.

## Path parameters

- `id` integer, required

## Query parameters

- `start` integer
- `limit` integer

## Response `200`

List assignments for a role

- object
  - `success` boolean — If the response is successful or not
  - `data` object[] — The role assignments
    - `parent_role_id` integer, nullable — The ID of the parent role
    - `name` string — The name of the role
    - `user_id` integer — The user ID
    - `role_id` integer — The role ID
    - `active_flag` boolean — Whether the role is active or not
    - `type` string — The assignment type
  - `additional_data` object — The additional data in the role list
    - `pagination` object — The pagination details in the role list
      - `start` integer — Pagination start
      - `limit` integer — Items shown per page
      - `more_items_in_collection` boolean — Whether there are more list items in the collection than displayed

---

[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)
