---
search:
  tags:
    - Roles & access
    - GET
seo:
  description: >-
    Returns all institution roles available for assignment (used when enrolling
    users or assigning… Reference for the GET /roles endpoint in the Fuxam API
    v4.
sidebar:
  label: List institution roles
  badge: GET
title: List institution roles
type: openapi-operation
---
Returns all institution roles available for assignment (used when enrolling users or assigning roles). Scoped to your integration's institution via Basic Auth credentials.

`GET /roles`

**Responses**

- `200` — List of roles
- `401` — Unauthorized
- `429` — Too Many Requests — 1000 requests per minute per institution. Includes \`X-RateLimit-Limit\`, \`X-RateLimit-Remaining\`, \`X-RateLimit-Reset\` (ISO-8601), and \`Retry-After\` (seconds).
- `500` — Internal Server Error

Response example, 200:

```json
{
  "data": [
    {
      "id": "clxrole1234",
      "name": "Student",
      "permissions": "read:course",
      "color": "#0361fc",
      "isDefault": false,
      "isPresetRole": false
    }
  ],
  "pagination": {
    "next_cursor": "string",
    "has_more": true,
    "limit": 0
  },
  "meta": {
    "requestId": "req_1234567890_abc",
    "timestamp": "2026-06-02T07:00:00.000Z",
    "version": "v4",
    "watermark": "2019-08-24T14:15:22Z"
  }
}
```
