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

# Quiet hours & Shabbat

> When marketing SMS, voice and push are blocked to Israeli numbers — and how tenant windows compose with the legal floor.

Marketing **SMS, voice and push** to Israeli numbers are blocked during quiet hours and Shabbat. This is a legal requirement, enforced at the send worker.

## The legal window

<CardGroup cols={2}>
  <Card title="Nightly quiet hours" icon="clock">
    20:00–08:00 local time. Marketing SMS/voice/push don't send in this
    window.
  </Card>

  <Card title="Shabbat" icon="star-of-david">
    Friday sunset to Saturday nightfall — computed from **real sunset** in
    Jerusalem (NOAA/USNO), with candle-lighting (−18 min) and havdalah
    (+40 min) offsets. Not a fixed-hour approximation.
  </Card>
</CardGroup>

## Email is exempt

<Note>
  The legal quiet-hours + Shabbat block does **not** apply to marketing email.
  Email still respects any window the merchant configures themselves.
</Note>

## Tenant custom quiet hours

A workspace can add its **own** quiet window (Settings → Sending), but only to **tighten** the legal floor — never to widen or re-open it. The gates compose the two with OR: an extra window can add blocked hours, but can never re-open a legally-blocked one.

<Warning>
  You cannot configure your way *out* of the legal window. The legal floor is
  always checked first.
</Warning>

## Overrides

An explicit tenant SMS override goes through the campaign config (`overrides.quietHours` / `overrides.shabbat`) and is recorded in the audit log — it's never inferred. This is for genuine transactional exceptions, not a way to blast at 02:00.

## How it interacts with scheduling

* **Best-time** sends walk each recipient's candidate hour **forward** past any quiet window before scheduling — compliance dominates the model, and the legal window is never bypassed even with an override.
* **Flow wait timers** that land inside a quiet window defer to the next allowed time rather than sending.
* **Scheduled campaigns** that would fire in a quiet window defer per the same gate.

## Channel summary

| Channel                           | Legal quiet-hours + Shabbat block |
| --------------------------------- | --------------------------------- |
| Marketing SMS                     | Yes                               |
| Marketing voice                   | Yes                               |
| Marketing push                    | Yes                               |
| Marketing email                   | No (merchant windows only)        |
| Transactional / OTP (any channel) | No                                |
