Sending limits and quiet hours
Caps, warm-up, the 3am reset, and why nothing sends without saying why.
Updated
On this page
Two separate mechanisms protect two different things, and it's worth keeping them apart in your head.
The messaging pacer protects the line. The iMessage provider runs real Apple devices, and the failure mode is an Apple ID deactivated. The calling pacer protects the people being rung. Different problems, so they have different limits in different places.
This page is the messaging half. For calls, see Pacing, quiet hours and retries.
The sending policy
One per organization per channel, where the channel is imessage
or sms.
| Field | Default on the model | What it limits |
|---|---|---|
daily_cap | 50 | New contacts per line per day. 0 means unlimited. |
hourly_cap | 15 | New contacts per line per hour. 0 means unlimited. |
window_start_hour | 9 | Earliest hour it may send. |
window_end_hour | 20 | Latest hour it may send. |
warmup_enabled | true | Whether a new line ramps up. |
is_active | true | Whether the channel sends at all. |
A policy created automatically differs from those model defaults in one respect. SMS is created unpaced, with both caps at 0. iMessage is created at 50 and 15.
There is no API for sending policies. They're managed on the platform side.
The day starts at 3am Eastern
Not local midnight. That's the provider's window, and counting against a different one would put us over their limit while our own arithmetic said we were under it.
The sending window itself is a different story. It's evaluated in the organization's timezone, not the contact's. A contact record holds no timezone, and guessing one from an area code mis-fires on every mobile number somebody kept after moving.
Warm-up
A new line does not start at its full cap:
| Line age | Daily cap |
|---|---|
| Days 1 to 3 | 10 |
| Days 4 to 7 | 20 |
| Days 8 to 13 | 35 |
| Day 14 onwards | the policy's daily_cap |
Age is measured from the first time the line messaged a stranger, not from when it was bought. A line sitting unused for a month is still on day zero.
What counts against the cap
Only new contacts. Somebody is new if there has been no message in either direction in the last 30 days. A conversation already in progress doesn't eat the budget.
Budgets are computed by counting rows, never by incrementing a counter. A counter is wrong the first time a process dies between sending and decrementing, and wrong forever after.
When nothing sends, it says why
The reason comes back even when the answer is zero. Especially then. "Nothing was sent" and "nothing was sent because the daily cap is spent" are the same line in a log unless one of them says so. The reasons are exactly:
- the carrier has blocked this line
- outside the sending window
- n of m new contacts today
- n of m in the last hour
The ceiling nothing can raise
A messaging run that has sent four messages with no reply stops. That's the provider's own ceiling. It sits below the flow graph, and no arrangement of nodes routes around it.