This endpoint retrieves all Users.
Request
To retrieve all Users please make a GET request to the following URL:
HTTP Method | URL |
---|---|
GET | https://industrial.api.ubidots.com/api/v2.0/users/ |
Sorting
You can obtain further information about the fields supported for sorting by clicking here
Header
Parameter | Required? | Description |
---|---|---|
X-Auth-Token | Yes | Authentication Token of account |
$ curl -X GET 'https://industrial.api.ubidots.com/api/v2.0/users/' \
-H 'X-Auth-Token: oaXBo6ODhIjPsusNRPUGIK4d72bc73' \
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"url": "https://industrial.api.ubidots.com/api/v2.0/users/633dbd6505527d1d115fab33",
"id": "633dbd6505527d1d115fab33",
"username": "check",
"firstName": "",
"lastName": "",
"email": "[email protected]",
"defaultOrganization": null,
"defaultRole": null,
"defaultDashboard": null,
"mugshotUrl": "//www.gravatar.com/avatar/4ba4a30b1efff2cd600744948a622f3a?s=100&d=mm",
"language": null,
"website": "",
"timezone": null,
"decimalPlaces": null,
"firstTime": true,
"properties": {},
"isActive": true,
"lastLogin": "2023-01-25T22:52:35.613512Z",
"tags": [],
"createdAt": "2022-10-05T17:22:45.169908Z",
"contactMethods": []
}
]
}
{
"code": 400001,
"message": "Validation Error.",
"detail": {
....
}
}
{
"code": 401001,
"message": "Authentication credentials were not provided.",
"detail": "Authentication credentials were not provided."
}
Response
An object with an array results
containing all Users.