---
title: "Retrieve the requested tab along with any extensions based on the supplied roleId"
method: GET
path: "/v2/tab/{tabId}/role/{roleId}"
tags: ["Custom Tabs"]
---

# Retrieve the requested tab along with any extensions based on the supplied roleId

`GET /v2/tab/{tabId}/role/{roleId}`

## Request

- Base URL: `https://app.ninjarmm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ninjarmm.com/v2/tab/{tabId}/role/{roleId}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `sessionKey`
- TypeScript: <https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/docs/v2/tab/:tabId/role/:roleId/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the requested tab along with any extensions based on the supplied roleId

## Path parameters

- `tabId` integer, required
- `roleId` integer, required

## Response `200`

The Custom Tabs and extensions as viewed by the specified role

## Other responses

- `404`: The Custom Tab or Role could not be found

## Changes

- **2025-12-12** `7c00bdd989ee`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/changes/v2/tab/:tabId/role/:roleId/get.md)

---

[API](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0.md) - [All operations](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/revisions/5ce571d1bb71?raw)
