Skip to content

View Users

POST {api-url}/viewUsers?ns={community}

Retrieve account details and current balances for an array of users using a comma-delimited list of usernames.

FieldTypeRequirementDescription
UsernamesStringRequiredA comma-delimited list of usernames to query.
MetadataStringOptionalAny other detail to store with this request.
{
"Usernames": "27820000000,27820000001",
"Metadata": ""
}
Terminal window
curl -X POST '{api-url}/viewUsers?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"Usernames":"27820000000,27820000001","Metadata":""}'