Users
Use these endpoints to introspect HUB users.
List all users in org
- curl
- Python
- JavaScript
curl --location 'https://api.skywatch.co/earthcache/accounts/users/' \
--header 'x-api-key: {{User_API_Key}}'
import requests
r = requests.get(
"https://api.skywatch.co/earthcache/accounts/users/",
headers={"x-api-key": "{{User_API_Key}}"}
)
print(r.json())
const r = await fetch("https://api.skywatch.co/earthcache/accounts/users/", {
headers: { "x-api-key": "{{User_API_Key}}" }
});
console.log(await r.json());
Returns basic details for all users (name, email, location, user_id, creator).
Get a specific user
- curl
- Python
- JavaScript
curl --location --globoff \
'https://api.skywatch.co/earthcache/accounts/users/{{user_id}}' \
--header 'x-api-key: {{User_API_Key}}'
requests.get(
f"https://api.skywatch.co/earthcache/accounts/users/{user_id}",
headers={"x-api-key": "{{User_API_Key}}"}
).json()
await (await fetch(
`https://api.skywatch.co/earthcache/accounts/users/${user_id}`,
{ headers: { "x-api-key": "{{User_API_Key}}" } }
)).json();
Both endpoints return group, role, created time, and project membership.
See API Reference
For complete API documentation with interactive testing, see Hub Users API Reference.