---
title: "Retrieve a role"
slug: "retrieve-a-role"
updated: 2025-07-13T08:17:55Z
published: 2025-07-13T08:17:55Z
canonical: "developers.torq.io/retrieve-a-role"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://developers.torq.io/llms.txt
> Use this file to discover all available pages before exploring further.
# Retrieve a role
Get/v1alpha/roles/{role_id}
Retrieves the details of an existing role by ID.
SecurityHTTPType bearer
Path parametersrole_idstring (uuid) Required
The ID of the role to retrieve. To get a list of role IDs make a `List roles` request.
Responses200
Role retrieved successfully.
Expand Allobject roleobject (apirolesv1alphaRole)
Role object
idstring (uuid)
The unique identifier of the role.
Example74e19393-3e94-48d2-8b60-26f2d2665942
namestring
The name of the role.
descriptionstring
The description of the role.
scope_names Array of string
The permissions (scopes) assigned to the role.
string
is_customboolean
The indication if the role is custom or not. This is 'true' if the role is a custom role.
401
Invalid bearer token. If you receive this message more than once try creating a new Client ID/Client Secret or generating a new bearer token.
object
403
You don't have permission to access this resource.
object
404
Role not found.
object