- Get parent-level limit warning settings for an account
List limit thresholds for an account
Create a limit threshold for an account
Get a limit threshold for an account
Update a limit threshold for an account
Delete a limit threshold for an account
List all limits for a given subaccount
Create a limit for an account or subaccount
Get a limit for a subaccount for the given metric if it exists, otherwise returns 404. Takes the SubAccountID from the X-Mailgun-On-Behalf-Of header.
Update a limit for an account given the metric name in the path
Delete a limit for an account given the metric name in the path
Update parent-level limit warning settings for an account
Create parent-level limit warning settings for an account
Delete parent-level limit warning settings for an account
Get parent-level limit wa...
- US Mailgunhttps://api.mailgun.net/v2/thresholds/limits-primary
- EU Mailgunhttps://api.eu.mailgun.net/v2/thresholds/limits-primary
curl -i -X GET \
-u '<username>:<password>' \
https://api.mailgun.net/v2/thresholds/limits-primaryA 200 response
Response
{ "created_at": "2026-02-01T10:30:00Z", "last_checked": "0001-01-01T00:00:00Z", "next_check": "0001-01-01T00:00:00Z", "updated_at": "2026-02-03T14:15:00Z", "parent_account_id": "12345", "id": "915ff385-0a9a-4087-86d5-6727ea7d9b49", "description": "Track limits for account 12345", "name": "Usage limits for 12345", "dimension": "subaccount", "warning_perc_two": "75", "warning_perc_one": "50", "alert_channels": [ "email", "webhook", "slack" ] }