---
title: "Add a notification threshold to an account"
method: POST
path: "/accounts/{accountId}/notification-thresholds"
tags: ["notification thresholds"]
---

# Add a notification threshold to an account

`POST /accounts/{accountId}/notification-thresholds`

## Request

- Base URL: `https://api.moneyhub.co.uk/v3`
- URL: `https://api.moneyhub.co.uk/v3/accounts/{accountId}/notification-thresholds`
- Auth: API key in header `Authorization`

Requires **accounts:read** and either of **accounts:write** or **accounts:write:all** scopes.

## Path parameters

- `accountId` string, uuid, required

## Request body

- NotificationThresholdPost
  - `value` integer, required: The value of the threshold in minor units of the currency, eg. pennies for GBP.
  - `type` 'gt' | 'lt', required: The type of threshold, either great than or less than

## Response `200`

Successful Notification Threshold Response

- object
  - `data` NotificationThreshold
    - `id` string: The id of the threshold, used to update and delete it
    - `value` integer: The value of the threshold in minor units of the currency, eg. pennies for GBP.
    - `type` 'gt' | 'lt': The type of threshold, either great than or less than
  - `meta` object

## Other responses

- `400`: Unsuccessful Response - Bad request - Missing query parameters - Missing body properties
- `401`: Unsuccessful Response
- `403`: Unsuccessful Response - Forbidden - Invalid scopes

---

[API](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3.md) - [All operations](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3/revisions/2e08b5dbee56?raw)
