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

# Get one role

`GET /roles/{id}`

Returns the details of a specific role.

## Path parameters

- `id` integer, required

## Response `200`

Get one role

- object
  - `success` boolean — If the response is successful or not
  - `data` object — The details of the role
    - `parent_role_id` integer, nullable — The ID of the parent role
    - `name` string — The name of the role
    - `id` integer — The ID of the role
    - `active_flag` boolean — Whether the role is active or not
    - `assignment_count` string — The number of users assigned to this role
    - `sub_role_count` string — The number of sub-roles
  - `additional_data` object — The additional data in the role
    - `settings` object — The settings for the role
      - `deal_default_visibility` number — The default visibility level of the deals for the role
      - `lead_default_visibility` number — The default visibility level of the leads for the role
      - `org_default_visibility` number — The default visibility level of the organizations for the role
      - `person_default_visibility` number — The default visibility level of the people for the role
      - `product_default_visibility` number — The default visibility level of the products for the role
      - `deal_access_level` number — The access level of the deals for the role (only for default role)
      - `org_access_level` number — The access level of the organizations for the role (only for default role)
      - `person_access_level` number — The access level of the people for the role (only for default role)
      - `product_access_level` number — The access level of the products for the role (only for default role)

---

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