---
title: "Get User Auth0 Roles"
method: GET
path: "/api/platform/users/{user_id}/auth0-roles"
tags: ["platform"]
---

# Get User Auth0 Roles

`GET /api/platform/users/{user_id}/auth0-roles`

List a user's Auth0 role grants (user- and organization-scoped) plus the catalog.

Reads the tenant role catalog, the user's tenant-wide (user-level) role
grants, and — for each organization the user belongs to — the roles granted
to them within that organization, all from the Auth0 Management API.
Requires ``reader`` on the ``members-users`` module instance (GET maps to the
reader relation on the parent router gate).

## Path parameters

- `user_id` string, required — Auth0 user id whose roles are listed

## Response `200`

Successful Response

- UserAuth0Roles — Auth0 roles for a single user across the user and organization scopes. ``assigned`` lists every current grant — tenant-wide (user-level) grants plus the roles granted to the user within each organization they belong to, each annotated with its scope. ``catalog`` is the full tenant role catalog the UI offers in the "add role" picker, and ``organizations`` are the orgs the user is a member of (the scopes at which roles can additionally be granted). The UI computes which catalog roles are still assignable per scope from ``assigned``.
  - `userId` string, required
  - `assigned` Auth0RoleAssignment[]
    - `id` string, required
    - `name` string, required
    - `description` string, nullable
    - `organizationId` string, nullable
    - `organizationName` string, nullable
  - `catalog` Auth0Role[]
    - `id` string, required
    - `name` string, required
    - `description` string, nullable
  - `organizations` Auth0RoleOrganization[]
    - `id` string, required
    - `name` string, nullable
    - `displayName` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/gocrisp/apis/crisp-app-dock.md) · [All operations](https://skmtc.dev/gocrisp/apis/crisp-app-dock/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gocrisp/crisp-app-dock/revisions/e56bd3c1a9db/schema)
