> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vzaps.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Users and contacts

> Look up users, avatars, and manage instance contacts

Use `users` and `contacts` to look up WhatsApp profiles and manage instance contacts.

For instances, see [Instances and billing](/en/sdk/python/instances-and-billing).

## Contacts

### `client.contacts.list(instance_id, instance_token=...)`

```python theme={null}
contacts = client.contacts.list("VZ...", instance_token="instance-token")
```

**Return:** envelope `{ code, success, data }` with contact array (`jid`, `Name`, `IsInWhatsapp`, etc.).

### `client.contacts.add(...)`

```python theme={null}
client.contacts.add(
    instance_id="VZ...",
    instance_token="instance-token",
    phone="5511888888888",
    first_name="Maria",
    full_name="Maria Silva",
)
```

**Return:** envelope `{ code, success, data }` with confirmation text (e.g. `"Contact added"`).

## Users

### `client.users.info(...)`

```python theme={null}
info = client.users.info(
    instance_id="VZ...",
    instance_token="instance-token",
    phone="5511999999999",
)
```

**Return:** envelope `{ code, success, data }` with user profile fields (`VerifiedName`, `Status`, `PictureId`, etc.).

### `client.users.check(...)`

```python theme={null}
exists = client.users.check(
    instance_id="VZ...",
    instance_token="instance-token",
    phone="5511999999999",
)
```

**Return:** envelope `{ code, success, data.users[] }` with `phone`, `exists`, `jid` per checked number.

### `client.users.avatar(...)`

```python theme={null}
avatar = client.users.avatar(
    instance_id="VZ...",
    instance_token="instance-token",
    phone="5511999999999",
)
```

**Return:** envelope `{ code, success, data }` with avatar `base64` and `mimetype`.

### `client.users.contacts(instance_id, instance_token=...)`

```python theme={null}
contacts = client.users.contacts("VZ...", instance_token="instance-token")
```

**Return:** envelope `{ code, success, data }` — JID map to contact fields (`FirstName`, `FullName`, `PushName`, etc.).
