Accounts
GET /users
Changed onReturns a list of user account based on the provided query parameters.
Request
- Base URL/v1r (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: Authorization
Query parameters
keywordstring required
A keyword to look for in the usernames
limitinteger
Limit of elements to return. Defaults to 10
offsetinteger
Elements to skip before starting to look for
Headers
Authorizationstring required
Insert your access token
X-Account-Metadatastring
Insert your metadata token
Response
OK
Example response
[
{
"active": true,
"city": "New York",
"country": "US",
"email": "jdoe@gmail.com",
"id": "did:ethr:0x4B73C58370AEfcEf86A6021afCDe5673511376B2",
"phoneNumber": "+12099216581",
"profilePictureUrl": "https://somecdn.com/p1.jpg",
"referralType": "T1",
"username": "jdoe",
"verified": true
}
]Changes
- info
added the new optional
headerrequest parameterX-Account-Metadata
- info
- warning
deleted the
headerrequest parameterX-Account-Metadata
- warning