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

# Masquerade As Company

`POST /internal/masquerade`

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/fastapi.md) · [All operations](https://skmtc.dev/kobaltlabs/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kobaltlabs/fastapi/revisions/3ff4c0bd276b/schema)
