---
title: "Masquerade As Company"
method: POST
path: "/internal/masquerade"
tags: ["internal"]
---

# Masquerade As Company

`POST /internal/masquerade`

## Request

- Base URL: `https://api.kobaltlabs.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kobaltlabs.com/internal/masquerade`
- Auth: none declared

Set or clear soft masquerade for the current admin user.

Soft masquerade points the user at another company for read access while
keeping their own company_id as Kobalt Labs. Setting it first clears any
active hard masquerade so that exactly one masquerade mode is ever active.

## Query parameters

- `company_id` string, uuid, nullable

## Response `200`

Successful Response

- MasqueradeActionResponse
  - `status` string, required
  - `message` string, required
  - `mode` 'soft' | 'hard'
  - `target_company_id` string, uuid, nullable
  - `target_company_name` string, nullable

## Other responses

- `422`: Validation Error

---

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