Get sending health
cooper_get_sending_statusUse this when you need to know whether this account can still send email, or why sending was paused. Read-only; requires auth and message_read. No inputs. The pause is account-wide, so an inbox-scoped key returns the same account status. Returns {object:"sending_status", status, reason, window_days, sent, bounced, complained, bounce_rate, complaint_rate, thresholds, paused_at, evaluated_at, resumes}. status is active, warning, or paused. reason is bounce_rate, complaint_rate, or null. Counts use the same trailing 7-day rules as cooper_get_metrics kind rates: sent is outbound messages, and bounced and complained are messages whose labels include those names. Below 50 sent messages the status is active. Warning starts at a bounce rate of 0.05 or a complaint rate of 0.001 and does not block sends. Sending pauses at a bounce rate of 0.10 with at least 5 bounces, or a complaint rate of 0.005 with at least 3 complaints. Bounce wins when both pause rules match. paused sends return HTTP 403 sending_paused and store nothing. Sending resumes automatically when the trailing 7-day rate falls below the pause threshold. A key without message_read returns 403 permission_denied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sent | No | Messages sent in the window. | |
| object | No | Object type name, such as list, message, or thread. | |
| reason | No | Why the object is in its current state, or null. | |
| status | No | active or paused. | |
| bounced | No | Bounces in the window. | |
| resumes | No | How sending resumes. | |
| paused_at | No | ISO-8601 time sending paused, or null. | |
| complained | No | Complaints in the window. | |
| thresholds | No | Rates that pause sending. | |
| bounce_rate | No | Bounces divided by sends. | |
| window_days | No | Length of the trailing window in days. | |
| evaluated_at | No | ISO-8601 time the rates were computed. | |
| complaint_rate | No | Complaints divided by sends. |