---
title: "Impersonate sub-account"
method: POST
path: "/v1/reseller/impersonate"
tags: ["Reseller"]
---

# Impersonate sub-account

`POST /v1/reseller/impersonate`

## Request

- Base URL: `https://api.winnr.app`
- URL: `https://api.winnr.app/v1/reseller/impersonate`
- Auth: HTTP bearer

Generate a Firebase custom token to impersonate a sub-account's admin user.
Opens in a new tab with a 55-minute session cap.

## Request body

- object
  - `account_id` string, required
  - `duration_minutes` integer

## Response `200`

Impersonation token generated

## Other responses

- `400`: Account suspended/deleted or no admin user
- `403`: Not a reseller or doesn't own account

---

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