---
title: "Generate access token by assuming a user"
method: POST
path: "/Auth/Internal_AssumeUser"
tags: ["Auth"]
---

# Generate access token by assuming a user

`POST /Auth/Internal_AssumeUser`

## Headers

- `X-Version` string

## Request body

- AssumeUserRequest
  - `user_Id` string, nullable
  - `target_User_Id` string, nullable
  - `target_Institute_Id` string, nullable

## Response `200`

Success

- TokenResponse
  - `access_Token` string, nullable — bearer token required for authorized endpoints
  - `refresh_Token` string, nullable — refresh token used with access token to generate new access token
  - `expires_In` number, double — lifetime in seconds
  - `token_Type` string, nullable — always bearer

## Other responses

- `400` — if credentials invalid

---

[API](https://skmtc.dev/eon-xr/apis/eonxr-api.md) · [All operations](https://skmtc.dev/eon-xr/apis/eonxr-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eon-xr/eonxr-api/revisions/538c75161c64/schema)
