---
title: "GET /userRole/id/{id}"
method: GET
path: "/userRole/id/{id}"
tags: ["userRole"]
---

# GET /userRole/id/{id}

`GET /userRole/id/{id}`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/userRole/id/{id}`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/userRole/id/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

query userRole

## Path parameters

- `id` string, required

## Response `200`

get by id

- UserRole
  - `id` string
  - `version` string
  - `allPermissionsEnabled` boolean
  - `createdDate` integer
  - `includedUserRoles` OnlyId[], required
    - `id` string
  - `lastModifiedDate` integer
  - `name` string, required
  - `permissions` string[]

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/userRole/id/:id/get.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
