# `ApifyClient.API.Users`
[🔗](https://github.com/social-growth-studio/apify-client-ex/blob/v1.0.0/lib/apify_client/api/users.ex#L1)

Provides API endpoint related to api/users

# `get`

```elixir
@spec get(user_id :: String.t(), opts :: keyword()) ::
  {:ok,
   ApifyClient.Schemas.UserPrivateInfo.t()
   | ApifyClient.Schemas.UserProxyInfo.t()
   | ApifyClient.Schemas.UserPublicInfo.t()}
  | {:error, ApifyClient.Error.t()}
```

Get public user data

Returns public information about a specific user account, similar to what
can be seen on public profile pages (e.g. https://apify.com/apify).

This operation requires no authentication token.

When the request is authenticated with an API token of the requested user account, or with a token
that impersonates it, the response also contains the private information, the same as in
[Get private user data](https://docs.apify.com/api/v2/users-me-get). Tokens with limited permissions never receive it.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
