---
title: "List roles"
method: GET
path: "/api/admin/v1/users/roles"
tags: ["Admin/Users Module"]
---

# List roles

`GET /api/admin/v1/users/roles`

Returns the roles of your organization. Native Complif roles have is_default: true; custom roles have is_default: null. Use this to obtain the id_role to assign to a user.

## Response `200`

- RolesExtended[]
  - `is_default` boolean, nullable, required — Determines whether a role is native to Complif or not.
  - `code` string, nullable, required
  - `created_at` string, nullable, required
  - `description` string, nullable, required
  - `id_role` string, nullable, required
  - `name` string, nullable, required

## Other responses

- `401` — Invalid JWT token - Authentication required

---

[API](https://skmtc.dev/complif/apis/complif-apis.md) · [All operations](https://skmtc.dev/complif/apis/complif-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/complif/complif-apis/revisions/2bbf0308cd2e/schema)
