---
title: "Api Accounts List"
method: GET
path: "/api/accounts/"
tags: ["users"]
---

# Api Accounts List

`GET /api/accounts/`

GET/POST /api/accounts/

List and create platform accounts.
Requires superadmin access (JWT or API key).

GET: List all accounts with summarized info (paginated)
POST: Create a new account with email, password, and organization

Request body for POST:
{
    "email": "user@example.com",      // required
    "password": "securepass123",      // required, min 8 chars
    "organization_name": "Org Name",  // optional, default "Test Org"
    "create_organization": true,      // optional, default true
    "is_active": true                 // optional, default true
}

## Query parameters

- `page` integer
- `page_size` integer

## Headers

- `Authorization` string, required

## Response `200`

- PaginatedPlatformAccountListList
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `total_count` integer
  - `current_filters` FilterParamDictPydantic — Pydantic model for FilterParamDict. A dictionary that maps metric names to their filter parameters. Each key is a metric name (str), and each value can be: - A single MetricFilterParamPydantic (one condition) - A List[MetricFilterParamPydantic] (multiple conditions for same metric) - A FilterBundlePydantic (nested filter bundle with connector) Note: Uses extra="allow" for dynamic metric name fields. The __pydantic_extra__ annotation tells Pydantic what types to expect for extra fields, and generates typed additionalProperties in JSON Schema.
  - `filters_data` PaginatedPlatformAccountListListFiltersData
  - `results` PlatformAccountList[], required
    - `id` integer, required
    - `email` string, required
    - `is_active` boolean
    - `created_at` string, date-time
    - `last_login` string, date-time, nullable
    - `organization_id` integer, nullable, required
    - `organization_name` string, nullable, required

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/versions/c26d550029f8/schema)
