> For the complete documentation index, see [llms.txt](https://api-docs.rightsline.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.rightsline.com/users/get-user-identity-role.md).

# Get user identity role

## Get user identity role

<mark style="color:blue;">`GET`</mark> `https://ris.rightsline.com/v4/user/identity-role/:roleID`

#### Path Parameters

| Name                                     | Type | Description           |
| ---------------------------------------- | ---- | --------------------- |
| roleID<mark style="color:red;">\*</mark> | int  | The identity role ID. |

#### Headers

| Name                                             | Type   | Description             |
| ------------------------------------------------ | ------ | ----------------------- |
| x-api-key<mark style="color:red;">\*</mark>      | string | Your company's API key. |
| Authentication<mark style="color:red;">\*</mark> | string | Authentication token.   |

{% tabs %}
{% tab title="200: OK User identity role retrieved successfully." %}

```json

{
    "activityPolicyId": "431889c1-b6b5-4130-b5d5-b22b01f44937",
    "dataPolicyId": "046282aa-d31b-4215-927d-fe291a6fb64a",
    "id": "8f371bcf-b3ed-4280-b3bd-6ca7241af94c",
    "name": "Identity Role 1",
    "xref": "role-1"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-docs.rightsline.com/users/get-user-identity-role.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
