# List Roles

List WHITELABEL default and organization custom roles.

Each role's `role_type` indicates its scope: `account` roles apply only where individually assigned, while `organization` roles apply across every account in the organization, including accounts created later. See [Create Role](/reference/organizations/create-role).

**GET** `/organizations/roles`

Base URL: `https://api-sandbox.whitelabel.com/v1`

List WHITELABEL default and organization custom roles.

## Authorization

- PUBLIC-API-KEY (apiKey in header)
- PRIVATE-SECRET-KEY (apiKey in header)

## Responses

### 200

OK

- `id` (string)
- `name` (string)
- `description` (string)
- `admin` (boolean)
- `permission_ids` (string[])
- `testing_permission_ids` (string[])
- `role_type` ("account" | "organization")
- `created_at` (string<date-time>)
- `updated_at` (string<date-time>)

Example:

```json
[
  {
    "id": "rol_AbCdEfGhIjKl",
    "name": "Admin",
    "description": "string",
    "admin": true,
    "permission_ids": [
      "string"
    ],
    "testing_permission_ids": [
      "string"
    ],
    "role_type": "account",
    "created_at": "1970-01-01T00:00:00.000Z",
    "updated_at": "1970-01-01T00:00:00.000Z"
  }
]
```