---
title: "List Impersonation Targets"
method: GET
path: "/api/impersonation/targets"
tags: ["impersonation"]
---

# List Impersonation Targets

`GET /api/impersonation/targets`

## Request

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

Identities the caller may act as, searchable and paged.

``per_kind=N`` returns at most N rows of each kind (the menu's first view of
a large estate: names to pick from, plus counts for "View all"); ``recent``
returns the identities this caller most recently acted as, newest first
(TOS-7987). Neither pages: ``next_cursor`` is always null for them.

Only actable rows are returned, so the client never has to gate a row it
was handed. ``allow_read_only=True`` matches ``POST /start``: opening a
session performs no action as the target, and every request the session
then makes is re-gated per method by ``get_identity``.

## Query parameters

- `q` string, nullable
- `cursor` string, nullable
- `limit` integer
- `identity_ids` string[], nullable
- `kind` string, nullable
- `per_kind` integer, nullable
- `recent` boolean

## Response `200`

Successful Response

- TargetsResponse
  - `targets` TargetRow[], required
    - `id` string, uuid, required
    - `kind` string, required
    - `display_name` string, required
    - `avatar_url` string, nullable, required
    - `subtitle` string, required
    - `description` string, nullable, required
    - `last_acted_at` string, date-time, nullable, required
  - `next_cursor` string, nullable, required
  - `total` integer
  - `counts` TargetCounts
    - `agent` integer
    - `organization` integer
    - `person` integer
    - `other` integer
  - `recheck_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

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