Skip to content

Limits

Mailgun allows you to set limits on your subaccounts to help you manage usage and costs. You can create, update, retrieve, and delete limits for various pre-send features such as email previews and email validations.

List limit thresholds for an account

Request

Security
basicAuth
curl -i -X GET \
  -u '<username>:<password>' \
  https://api.mailgun.net/v1/thresholds/limits

Responses

A 200 response

Bodyapplication/json
itemsArray of objects(github.com-mailgun-thresholds-api-ThresholdLimitItem)required

List of threshold limits.

totalinteger, (int64)required

Total number of threshold limits.

Response
{ "items": [ {}, {} ], "total": 2 }