Filter the results by display name.
To enable prefix filtering append *
to the end of the value and ensure you provide at least 3 characters excluding the wildcard.
This filter is case-insensitivity.
GET
/admin/v1/usersLists users.
curl https://api.userhub.com/admin/v1/users \
-H "Authorization: Bearer $USERHUB_ADMIN_KEY"
const res = await adminApi.users.list();
res, err := adminApi.Users().List(
context.Background(),
nil,
)
$res = $adminApi->users->list();
res = admin_api.users.list()
{
"users": [
{
"id": "usr_2JRcPwpTSP1nyB",
"state": "ACTIVE",
"displayName": "John Doe",
"email": "[email protected]",
"emailVerified": false,
"phoneNumber": "+12345678901",
"phoneNumberVerified": false,
"imageUrl": "https://example.com/john.jpg",
"address": null,
"accountConnections": [],
"subscription": null,
"memberships": [],
"signupTime": "2024-11-15T13:00:00Z",
"createTime": "2024-11-15T13:00:00Z",
"updateTime": "2024-11-15T13:00:00Z"
},
{
"id": "usr_MKFxzgJaAH8JQ4",
"state": "ACTIVE",
"displayName": "Jane Doe",
"email": "[email protected]",
"emailVerified": true,
"phoneNumber": "+12125550123",
"phoneNumberVerified": false,
"imageUrl": "https://example.com/jane.jpg",
"currencyCode": "USD",
"languageCode": "en",
"regionCode": "US",
"timeZone": "America/New_York",
"address": {
"lines": [
"42 West St"
],
"city": "Brooklyn",
"state": "NY",
"postalCode": "11222",
"country": "US"
},
"accountConnections": [],
"subscription": null,
"memberships": [],
"signupTime": "2024-11-15T13:00:00Z",
"createTime": "2024-11-15T13:00:00Z",
"updateTime": "2024-11-15T13:00:00Z"
}
],
"nextPageToken": ""
}