listUsers()
Lists users, newest first by default.
function listUsers(params?: ListUsersParams): Promise<Paginated<User>>Parameters
Name | Type | Description |
|---|---|---|
|
| How many to return, 1–500. Default 10. |
|
| How many to skip. |
|
| Match email, phone, name or ID. |
|
|
|
Usage
keyward is the backend client. Create it once with createKeywardClient({ secretKey }) and reuse it.
const { data, totalCount } = await keyward.users.listUsers({ limit: 20, orderBy: "-created_at" });Returns
{ data: User[], totalCount: number }.
Updated
Was this page helpful?