---
sidebar:
  label: roboto.notifications.http_client
  order: 0
title: roboto.notifications.http_client
---
## Module Contents

### NotificationsClient

```python
class roboto.notifications.http_client.NotificationsClient(
    http_client: roboto.http.HttpClient,
)
```

`from roboto.notifications import NotificationsClient`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/notifications/http_client.py#L20-L97)

**Parameters**

- **http_client** (`roboto.http.HttpClient`)

#### NotificationsClient.batch_update_notifications()

```python
def batch_update_notifications(
    updates: list[roboto.notifications.http_resources.UpdateNotificationRequest],
) -> dict[str, Any]
```

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/notifications/http_client.py#L70-L87)

**Parameters**

- **updates** (`list[roboto.notifications.http_resources.UpdateNotificationRequest]`)

**Returns**

- `dict[str, Any]`

#### NotificationsClient.delete_notification()

```python
def delete_notification(notification_id: str) -> None
```

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/notifications/http_client.py#L89-L97)

**Parameters**

- **notification_id** (`str`)

**Returns**

- `None`

#### NotificationsClient.get_notifications()

```python
def get_notifications() -> dict[str, Any]
```

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/notifications/http_client.py#L27-L33)

**Returns**

- `dict[str, Any]`

#### NotificationsClient.update_notification()

```python
def update_notification(
    notification_id: str,
    org_id: Optional[str] = None,
    read_status: Optional[str] = None,
    lifecycle_status: Optional[dict[roboto.notifications.record.NotificationChannel, str]] = None,
) -> Any
```

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/notifications/http_client.py#L35-L68)

**Parameters**

- **notification_id** (`str`)
- **org_id** (`Optional[str]`)
- **read_status** (`Optional[str]`)
- **lifecycle_status** (`Optional[dict[roboto.notifications.record.NotificationChannel, str]]`)

**Returns**

- `Any`
