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

# Hard Masquerade As Company

`POST /internal/hard-masquerade`

Activate or deactivate hard masquerade for the current admin user.

Hard masquerade swaps the user's company_id to the target so writes apply to
that company. Activating first clears any active masquerade (soft, or a
different hard target), so exactly one masquerade mode is ever active and
admins can jump straight between modes/targets.

## 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/425d5b8a3c17/schema)
