List users
GET/zones/{zoneId}/users
Returns a list of users in the specified zone. Can be filtered by email address.
Path Parameters
zoneId: string
Query Parameters
after: optional string
Cursor for forward pagination
minLength1
maxLength255
before: optional string
Cursor for backward pagination
minLength1
maxLength255
limit: optional number
Maximum number of items to return
minimum1
maximum100
Returns
List users
curl https://api.keycard.ai/zones/$ZONE_ID/users{
"items": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"email": "dev@stainless.com",
"email_verified": true,
"organization_id": "organization_id",
"updated_at": "2019-12-27T18:11:19.117Z",
"zone_id": "zone_id",
"authenticated_at": "authenticated_at",
"issuer": "issuer",
"provider_id": "provider_id",
"subject": "subject"
}
],
"pagination": {
"after_cursor": "x",
"before_cursor": "x",
"total_count": 0
}
}Returns Examples
{
"items": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"email": "dev@stainless.com",
"email_verified": true,
"organization_id": "organization_id",
"updated_at": "2019-12-27T18:11:19.117Z",
"zone_id": "zone_id",
"authenticated_at": "authenticated_at",
"issuer": "issuer",
"provider_id": "provider_id",
"subject": "subject"
}
],
"pagination": {
"after_cursor": "x",
"before_cursor": "x",
"total_count": 0
}
}