---
title: "The account used a warning share of its monthly credit. Sent once per threshold and billing month. A person tops up the credit or changes the plan in the dashboard. In the feed it may disappear and reappear with the same id if the warning mail failed; deduplicate by id."
method: POST
path: "quota.threshold"
---

# The account used a warning share of its monthly credit. Sent once per threshold and billing month. A person tops up the credit or changes the plan in the dashboard. In the feed it may disappear and reappear with the same id if the warning mail failed; deduplicate by id.

`POST quota.threshold` (webhook)

Sent as POST to the account webhook URL. Headers: X-Smartwebchat-Event, X-Smartwebchat-Timestamp, X-Smartwebchat-Signature (HMAC over timestamp and body). data is the object shown in the example.

## Payload

- object
  - `event` 'quota.threshold', required
  - `timestamp` string, date-time, required
  - `data` object, required
    - `thresholdPercent` integer, required
    - `period` string, required

## Acknowledgement `2XX`

Received. Any other status is logged; delivery to the account webhook URL is not retried.

---

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