---
title: "Get Admin User List"
method: POST
path: "/v1/admin_console/user/list"
tags: ["admin_console", "user"]
---

# Get Admin User List

`POST /v1/admin_console/user/list`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/admin_console/user/list`
- Auth: none declared

List users for admin console with aggregates and pagination.

Accepts EITHER legacy x-admin-api-key (cron/service callers) OR a
Firebase token resolving to an active admin_user.

## Headers

- `x-admin-api-key` string, nullable

## Request body

- AdminUserListRequest
  - `search_text` string
  - `days_ago` integer, nullable
  - `created_after` string, date-time, nullable
  - `created_before` string, date-time, nullable
  - `country` string, nullable
  - `auth_provider` string, nullable
  - `creator_type` string, nullable
  - `utm_source` string, nullable
  - `utm_medium` string, nullable
  - `utm_campaign` string, nullable
  - `has_pro` boolean, nullable
  - `is_active` boolean, nullable
  - `is_test_user` boolean, nullable
  - `is_superuser` boolean, nullable
  - `from_agency` boolean, nullable
  - `facebook_page_only` boolean, nullable
  - `min_contacts` integer, nullable
  - `max_contacts` integer, nullable
  - `min_automations` integer, nullable
  - `max_automations` integer, nullable
  - `min_instagram_accounts` integer, nullable
  - `max_instagram_accounts` integer, nullable
  - `sort_by` string
  - `sort_order` string
  - `limit` integer
  - `offset` integer

## Response `200`

Successful Response

- AppApiV1AdminConsoleUserSchemasAdminUserListResponse
  - `total` integer, required
  - `docs` AdminUserRow[], required
    - `id` integer, required
    - `email` string, nullable
    - `phone_number` string, nullable
    - `firebase_uid` string, required
    - `name` string, nullable
    - `picture` string, nullable
    - `is_active` boolean, required
    - `is_superuser` boolean, nullable
    - `auth_provider` string, required
    - `country` string, nullable
    - `is_test_user` boolean, nullable
    - `creator_types` string[], nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `connected_instagram_accounts` integer, nullable
    - `connected_facebook_pages` integer, nullable
    - `no_of_automations` integer, nullable
    - `no_of_inbox_automations` integer, nullable
    - `no_of_flow_automations` integer, nullable
    - `no_of_collect_info_automations` integer, nullable
    - `from_agency` boolean, nullable
    - `has_pro` boolean
    - `utm_source` string, nullable
    - `utm_medium` string, nullable
    - `utm_campaign` string, nullable
    - `used_contacts` integer, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
