---
title: "Get Shell Access"
method: GET
path: "/api/shell-access"
tags: ["shell"]
---

# Get Shell Access

`GET /api/shell-access`

## Request

- Base URL: `https://app.gocrisp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.gocrisp.com/api/shell-access`
- Auth: OAuth 2
  - Authorization code: `https://login.gocrisp.com/authorize`
  - Token URL: `https://login.gocrisp.com/oauth/token`

Tell the host whether to mount the Shell for this caller.

## Response `200`

Successful Response

- ShellAccessResponse: Whether the host may mount the Shell for this caller. ``account_count`` and ``has_platform_access`` are ``None`` when that probe could not be completed. ``decision`` is the admission result: ``unavailable`` still mounts the shell (fail open); only ``denied`` shows the no-access page.
  - `accountCount` integer, nullable
  - `hasPlatformAccess` boolean, nullable
  - `hasOrganizationAccess` boolean, nullable
  - `decision` 'allowed' | 'denied' | 'unavailable', required

## Changes

- **2026-10-19** `4e867eb0c40d`: 1 info
  - added the optional property `hasOrganizationAccess` to the response with the `200` status
- **2026-10-01** `618c265818df`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gocrisp/apis/crisp-app-dock/changes/api/shell-access/get.md)

---

[API](https://skmtc.dev/gocrisp/apis/crisp-app-dock.md) - [All operations](https://skmtc.dev/gocrisp/apis/crisp-app-dock/llms.txt) - [OpenAPI document](https://skmtc.dev/gocrisp/apis/crisp-app-dock/revisions/28638f87e7d4?raw)
