Skip to main content

Get Users

info

All JSON array responses have been shortened for readability.

GET/<ApplicationID>/users
Endpoint Requires Authentication
Additional Permissions Required
Example
https://api.weightron.cloud/641c1177ebc8b2f3c195b02c/users
Description

Returns an array of objects, each one representing the User Applications for the supplied application. This document contains the roles the user has as an array of ObjectId, a user object with the user's record, and a settings object with the setting key value pairs that the user has applied, if any.

Returns
{
"timestamp": "2023-11-03T14:05:32.907Z",
"data": [
{
"_id": "64e7364ad31d9d209f639ea2",
"roles": ["65424ea16a7088b7b99debb3"],
"user": {
"_id": "627a5d6cea128a40043bf6aa",
"email": "name@email.com",
"name": "Full Name"
},
"settings":{
...
}
}
]
}