---
title: "Retrieve all assignable user roles"
slug: "retrieve-all-assignable-user-roles"
updated: 2024-10-25T18:04:27Z
published: 2026-02-10T22:32:35Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skillable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve all assignable user roles

Get/GetUserRoles

Allows you to view all user roles available to your API integration.

SecurityAPI Key: api_keyHeader parameter nameapi_key

Responses200

OK Response

<select class='api-response-data' aria-label='Media type'><option value='8ec69dd3-e0e4-46cc-853c-107bdeb39eb3'>application/json</option>
</select>Expand Allobject  Statusinteger  (int32)    

Indicates the status of the API request.

0 = Success 10 = Error 20 = Not found 30 = Invalid integration key

Example10
Errorstring   | null  

Error details. This will only have a value if an error was encountered. The status property will also be set to Error (10).

Roles Array of object (Role)   

See Role Object.

object  Idinteger  (int32)    

The role's unique identifier

Example78965
Namestring    

The name of the role

ExampleStudent
Descriptionstring   | null  

The description of the role

ExampleThe default role assigned to all accounts.
