# Users and license access

Use the Organization Users API to find a snapAddy user ID, for example when selecting a VisitReport meeting host. Authenticate with a [personal API token](/authentication/#personal-api-token) from an organization administrator account. The search covers the account’s current organization.

```bash
curl --fail-with-body --get \
  'https://backend.snapaddy.com/user/user-management/find-users' \
  -H "x-api-key: $SNAPADDY_API_KEY" \
  --data-urlencode 'searchText=Alex' \
  --data-urlencode 'limit=10'
```

```typescript
const apiKey = process.env.SNAPADDY_API_KEY;
if (!apiKey) throw new Error("Set SNAPADDY_API_KEY");

const response = await fetch("https://backend.snapaddy.com/user/user-management/find-users?searchText=Alex&limit=10", {
  headers: { "x-api-key": apiKey },
});
if (!response.ok) throw new Error(`Request failed (${response.status})`);
console.log(await response.json());
```

```python
import json
import os
from urllib.request import Request, urlopen

request = Request(
    "https://backend.snapaddy.com/user/user-management/find-users?searchText=Alex&limit=10",
    headers={"x-api-key": os.environ["SNAPADDY_API_KEY"]},
)
with urlopen(request, timeout=20) as response:
    print(json.load(response))
```

Use `include` to select response fields. The response contains `total` and a `users` array. Keep the same filters while advancing `offset` to read the next page.

## Retrieve only the matching IDs

Call `GET /user-management/find-users/ids` on the same User service when your integration already has the user details. It returns all matching identifiers in `userIds`. Use the same organization filters, such as `searchText` or `groupIds`. This endpoint has no pagination parameters.

## Check license access

To check **your own license access**, call `GET /user/v1/me/license-permissions-per-organization`. It shows which features each organization’s subscription and enabled modules provide. Dashboard roles are assigned separately.

[Organization Users API reference](/reference/organization-users/) · [Legacy migration guide](/migration/legacy-api/)
