---
title: "List Org Roles"
method: GET
path: "/orgs/{org_id}/roles"
tags: ["roles"]
---

# List Org Roles

`GET /orgs/{org_id}/roles`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/orgs/{org_id}/roles`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

List every role defined on the org, with member counts.

## Path parameters

- `org_id` string, uuid, nullable, required

## Response `200`

Successful Response

- RoleListResponse
  - `items` RoleResponse[], required
    - `id` string, uuid, required
    - `org_id` string, uuid, required
    - `name` string, required
    - `description` string, nullable
    - `permissions` PermissionMap, required: The closed JSON permissions object stored on each Role.
      - `techpacks` CategoryPerms: Permission booleans for one category (``comment`` is used on techpacks).
        - `view` boolean
        - `comment` boolean
        - `create` boolean
        - `edit` boolean
        - `delete` boolean
      - `crm` CategoryPerms: Permission booleans for one category (``comment`` is used on techpacks).
        - `view` boolean
        - `comment` boolean
        - `create` boolean
        - `edit` boolean
        - `delete` boolean
      - `wallet` CategoryPerms: Permission booleans for one category (``comment`` is used on techpacks).
        - `view` boolean
        - `comment` boolean
        - `create` boolean
        - `edit` boolean
        - `delete` boolean
      - `roles` CategoryPerms: Permission booleans for one category (``comment`` is used on techpacks).
        - `view` boolean
        - `comment` boolean
        - `create` boolean
        - `edit` boolean
        - `delete` boolean
      - `org_settings` CategoryPerms: Permission booleans for one category (``comment`` is used on techpacks).
        - `view` boolean
        - `comment` boolean
        - `create` boolean
        - `edit` boolean
        - `delete` boolean
      - `profile_settings` CategoryPerms: Permission booleans for one category (``comment`` is used on techpacks).
        - `view` boolean
        - `comment` boolean
        - `create` boolean
        - `edit` boolean
        - `delete` boolean
    - `is_enabled` boolean, required
    - `member_count` integer
    - `is_system_role` boolean
    - `member_user_id` string, uuid, nullable
    - `display_name` string, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
