> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.houseofapps.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.houseofapps.ai/_mcp/server.

# List organization users

GET https://api-dev.houseofapps.ai/v1/integrations/users/list

List users in the organization resolved from Isometrik credentials (`licenseKey`/`appSecret`).

Reference: https://docs.houseofapps.ai/api-reference/overview/platform/users/external-get-users-list-v-1-integrations-users-list-get

## Request

### Query parameters

- `search` (string, optional, nullable) — Search term to filter Users by name (case-insensitive)
- `page` (integer, optional, default: 1) — The page number for pagination
- `page_size` (integer, optional, default: 20) — The number of items per page
- `dropdown_filters` (string, optional, nullable) — JSON array or object of dropdown custom-field filters (e.g. \[\{"field\_id":"\<uuid>","values":\["opt"]}])
- `group_by` (enum, optional, nullable) — Optional grouping mode. Pass `team` to bucket users by team.
  - Allowed values: `team`

### Headers

- `licenseKey` (string, required)
- `appSecret` (string, required)

## Response

### 200

OK

- `data` (UserListResponseData, required) — List of users, or team groups when group_by=team
- `total_count` (integer, required) — Total number of users
- `message` (string, required) — Response message describing the operation result
- `page` (integer, required) — Current page number
- `page_size` (integer, required) — Number of items per page
- `total_pages` (integer, required) — Total number of pages

## Errors

### 400 Bad Request Error

Bad Request

- `status` (string, required) — Response status
- `message` (string, required) — Human-readable error message
- `statusCode` (integer, required) — HTTP status code
- `code` (string, required) — Custom application status code
- `messageKey` (string, optional) — i18n key for the message
- `errors` (list of map from string to any, optional) — Optional field-level validation errors

### 401 Unauthorized Error

Unauthorized

- `status` (string, required) — Response status
- `message` (string, required) — Human-readable error message
- `statusCode` (integer, required) — HTTP status code
- `code` (string, required) — Custom application status code
- `messageKey` (string, optional) — i18n key for the message
- `errors` (list of map from string to any, optional) — Optional field-level validation errors

### 403 Forbidden Error

Forbidden

- `status` (string, required) — Response status
- `message` (string, required) — Human-readable error message
- `statusCode` (integer, required) — HTTP status code
- `code` (string, required) — Custom application status code
- `messageKey` (string, optional) — i18n key for the message
- `errors` (list of map from string to any, optional) — Optional field-level validation errors

### 404 Not Found Error

Not Found

- `status` (string, required) — Response status
- `message` (string, required) — Human-readable error message
- `statusCode` (integer, required) — HTTP status code
- `code` (string, required) — Custom application status code
- `messageKey` (string, optional) — i18n key for the message
- `errors` (list of map from string to any, optional) — Optional field-level validation errors

### 422 Unprocessable Entity Error

Unprocessable Entity

- `status` (string, required) — Response status
- `message` (string, required) — Human-readable error message
- `statusCode` (integer, required) — HTTP status code
- `code` (string, required) — Custom application status code
- `messageKey` (string, optional) — i18n key for the message
- `errors` (list of map from string to any, optional) — Optional field-level validation errors

### 429 Too Many Requests Error

Too Many Requests

- `status` (string, required) — Response status
- `message` (string, required) — Human-readable error message
- `statusCode` (integer, required) — HTTP status code
- `code` (string, required) — Custom application status code
- `messageKey` (string, optional) — i18n key for the message
- `errors` (list of map from string to any, optional) — Optional field-level validation errors

### 500 Internal Server Error

Internal Server Error

- `status` (string, required) — Response status
- `message` (string, required) — Human-readable error message
- `statusCode` (integer, required) — HTTP status code
- `code` (string, required) — Custom application status code
- `messageKey` (string, optional) — i18n key for the message
- `errors` (list of map from string to any, optional) — Optional field-level validation errors

### 503 Service Unavailable Error

Service Unavailable

- `status` (string, required) — Response status
- `message` (string, required) — Human-readable error message
- `statusCode` (integer, required) — HTTP status code
- `code` (string, required) — Custom application status code
- `messageKey` (string, optional) — i18n key for the message
- `errors` (list of map from string to any, optional) — Optional field-level validation errors

## Types

### UserListResponseData

List of users, or team groups when group_by=team

- list of UserListItem
- list of UserListGroup

### UserListItem

Model for user list item (summary view) Used for displaying users in lists without full profile details. Attributes: user_id (str): Unique identifier for the user email (str): User's email address first_name (Optional[str]): User's first name last_name (Optional[str]): User's last name role (str): User's role in organization according to role id status (str): User's membership status joined_at (str): ISO timestamp when user joined last_active_at (Optional[str]): ISO timestamp of last activity alternate_emails (Optional[list[str]]): Alternate email addresses of the user

- `user_id` (string, required) — Unique identifier for the user
- `email` (string, required) — email address of the user
- `role` (string, required) — User's role in organization based on role id
- `status` (enum, required) — User's membership status
  - Allowed values: `active`, `suspended`, `inactive`, `pending`, `invited`, `deleted`
- `joined_at` (string, required) — ISO timestamp when user joined
- `role_id` (string, required) — ID of the role assigned to the user
- `member_role` (enum, required) — Organization member role (owner, member)
  - Allowed values: `owner`, `member`
- `alternate_emails` (list of string, optional, nullable) — Alternate email addresses of the user
- `first_name` (string, optional, nullable) — Updated first name
- `last_name` (string, optional, nullable) — Updated last name
- `salutation` (string, optional, nullable) — Updated salutation
- `phone_number` (string, optional, nullable) — Phone number (without ISD code)
- `phone_isd_code` (string, optional, nullable) — Phone ISD code (e.g., '+91')
- `last_active_at` (string, optional, nullable) — ISO timestamp of last activity
- `permissions_count` (integer, optional, default: 0) — Number of permissions assigned to the user
- `isometrik_user_id` (string, optional, nullable) — Isometrik chat user ID for this organization member
- `custom_fields` (list of map from string to any, optional) — Custom fields root cells payload (validated and stored as JSONB).

### UserListGroup

Grouped user list bucket for ``group_by=team``. Multi-team users appear under every team using the same item reference (no deep copy). Users with no team membership go under ``individual_members``.

- `group_key` (string, required) — Team id, or 'individual_members'
- `group_label` (string, required) — Display label for the group
- `count` (integer, required) — Users in this group
- `items` (list of UserListItem, optional) — Users in group (may be empty for seeded team buckets)

## Examples

**Response**

```json
{
  "data": [],
  "total_count": 0,
  "message": "Users retrieved successfully",
  "page": 1,
  "page_size": 20,
  "total_pages": 0
}
```

**SDK Code**

```python
import requests

url = "https://api-dev.houseofapps.ai/v1/integrations/users/list"

headers = {
    "appSecret": "appSecret",
    "licenseKey": "licenseKey"
}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api-dev.houseofapps.ai/v1/integrations/users/list';
const options = {method: 'GET', headers: {appSecret: 'appSecret', licenseKey: 'licenseKey'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api-dev.houseofapps.ai/v1/integrations/users/list"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("appSecret", "appSecret")
	req.Header.Add("licenseKey", "licenseKey")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api-dev.houseofapps.ai/v1/integrations/users/list")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["appSecret"] = 'appSecret'
request["licenseKey"] = 'licenseKey'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api-dev.houseofapps.ai/v1/integrations/users/list")
  .header("appSecret", "appSecret")
  .header("licenseKey", "licenseKey")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api-dev.houseofapps.ai/v1/integrations/users/list', [
  'headers' => [
    'appSecret' => 'appSecret',
    'licenseKey' => 'licenseKey',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api-dev.houseofapps.ai/v1/integrations/users/list");
var request = new RestRequest(Method.GET);
request.AddHeader("appSecret", "appSecret");
request.AddHeader("licenseKey", "licenseKey");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "appSecret": "appSecret",
  "licenseKey": "licenseKey"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://api-dev.houseofapps.ai/v1/integrations/users/list")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```