curl --request GET \
--url https://api.example.com/v1/users:batchGet{
"users": [
{
"name": "<string>",
"state": "STATE_UNSPECIFIED",
"email": "<string>",
"title": "<string>",
"userType": "USER_TYPE_UNSPECIFIED",
"mfaEnabled": true,
"tempOtpSecret": "<string>",
"tempRecoveryCodes": [
"<string>"
],
"tempOtpSecretCreatedTime": "2023-11-07T05:31:56Z",
"phone": "<string>",
"profile": {
"lastLoginTime": "2023-11-07T05:31:56Z",
"lastChangePasswordTime": "2023-11-07T05:31:56Z",
"source": "<string>"
},
"groups": [
"<string>"
]
}
]
}Get the users in batch. Any authenticated user can batch get users. Permissions required: bb.users.get
curl --request GET \
--url https://api.example.com/v1/users:batchGet{
"users": [
{
"name": "<string>",
"state": "STATE_UNSPECIFIED",
"email": "<string>",
"title": "<string>",
"userType": "USER_TYPE_UNSPECIFIED",
"mfaEnabled": true,
"tempOtpSecret": "<string>",
"tempRecoveryCodes": [
"<string>"
],
"tempOtpSecretCreatedTime": "2023-11-07T05:31:56Z",
"phone": "<string>",
"profile": {
"lastLoginTime": "2023-11-07T05:31:56Z",
"lastChangePasswordTime": "2023-11-07T05:31:56Z",
"source": "<string>"
},
"groups": [
"<string>"
]
}
]
}Was this page helpful?