# prov.account.set_reminder_settings

prov.account.set_reminder_settings in Python SDK. Any of default_time_zone (IANA; `None` clears it), max_per_request (lower it), min_gap_seconds (raise it), quiet_hours (widen them) and schedules per product (`{"capture_request": {"enabled": True, "after": ["24h", "72h"]}}`; turning one on needs Pro or higher).

## Signature

```python
prov.account.set_reminder_settings(**fields: Any = …) -> Any
```

## Parameters

- `**fields` (Any, optional)

## Returns

`Any`

## HTTP operation

[`PUT /v1/account/reminders`](https://provenanceauth.com/docs/api/account.md#put-v1-account-reminders): Set reminder settings

## Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`plan_required`](https://provenanceauth.com/docs/platform/errors.md#plan_required)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

## Example

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/account/reminders`, {
  method: "PUT",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({
    "delivery": "send",
    "channels": [
      "app_notification",
      "email",
      "text"
    ],
    "follow_up_text": {
      "after_minutes": 10
    },
    "default_time_zone": "America/Chicago",
    "schedules": {
      "capture_request": {
        "enabled": true,
        "after": [
          "24h",
          "72h"
        ]
      }
    }
  }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.put(f"{api}/v1/account/reminders", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "delivery": "send",
    "channels": [
        "app_notification",
        "email",
        "text"
    ],
    "follow_up_text": {
        "after_minutes": 10
    },
    "default_time_zone": "America/Chicago",
    "schedules": {
        "capture_request": {
            "enabled": True,
            "after": [
                "24h",
                "72h"
            ]
        }
    }
}).json()
```
