```
curl {{ api_url }}/v1/users -u BOT_EMAIL_ADDRESS:BOT_API_KEY
```
You may pass the `client_gravatar` query parameter as follows:
```
curl {{ api_url }}/v1/users?client_gravatar=true \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
```
```python
#!/usr/bin/env python
import zulip
# Download ~/zuliprc-dev from your dev server
client = zulip.Client(config_file="~/zuliprc-dev")
# Get all users in the realm
print(client.get_members())
# You may pass the `client_gravatar` query parameter as follows:
print(client.call_endpoint(
url='users?client_gravatar=true',
method='GET',
))
```
More examples and documentation can be found [here](https://github.com/zulip/zulip-js).
```js
const zulip = require('zulip-js');
const config = {
username: 'othello-bot@example.com',
apiKey: 'a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5',
realm: '{{ api_url }}'
};
const client = zulip(config);
// Get all users in the realm
client.users.retrieve().then(res => {
console.log(res);
});
// You may pass the `client_gravatar` query parameter as follows:
client.users.retrieve({client_gravatar: true}).then(res => {
console.log(res);
});
```