---
title: "Search people across the platform (name, e-mail, phone, id)"
method: GET
path: "/api/admin/principals"
tags: ["admin"]
---

# Search people across the platform (name, e-mail, phone, id)

`GET /api/admin/principals`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/admin/principals`
- Auth: none declared

## Query parameters

- `q` string
- `limit` integer

## Response `200`

OK.

- object
  - `principals` AdminPrincipalRow[], required
    - `id` string, required
    - `displayName` string, required
    - `email` string, nullable, required
    - `phone` string, nullable, required
    - `status` string, required
    - `superAdmin` boolean, required
    - `primaryOrgId` string, nullable, required
    - `orgCount` integer, required
    - `lastSeenAt` string, nullable, required
    - `createdAt` string, required

## Other responses

- `400`: Invalid request or reason missing.
- `403`: Not a super_admin.

---

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