---
title: "Received mail nears the monthly cap"
method: POST
path: "inbound_cap_warning"
tags: ["Received mail"]
---

# Received mail nears the monthly cap

`POST inbound_cap_warning` (webhook)

80 percent of the monthly cap on received mail is used.

## Headers

- `Sendora-Signature` string, required
- `Sendora-Event` string, required
- `Sendora-Delivery-Id` string, required
- `User-Agent` string, required

## Payload

- object: 80 percent of the monthly cap on received mail is used.
  - `id` string, required: The delivery's id. A delivery may arrive more than once, so key your handling on it.
  - `attempt` integer, required: The attempt number, from 1.
  - `cap` integer, required: Emails the account may receive in the month.
  - `used` integer, required: Emails received in the month so far.
  - `periodStart` string, date-time, required: The month the counts are for: its first moment, in UTC.
  - `periodEnd` string, date-time, required: The first moment of the next month, in UTC, when received mail is counted from 0 again.
  - `occurredAt` string, date-time, required: When it happened.
  - `event` 'inbound_cap_warning', required

## Acknowledgement `2XX`

Acknowledges the delivery. Any other answer, or none within 10 seconds, is retried.

---

[API](https://skmtc.dev/sendora/apis/sendora-api.md) · [All operations](https://skmtc.dev/sendora/apis/sendora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sendora/apis/sendora-api/revisions/72efbbb34b64?raw)
