Skip to content

IP Allowlist

The IP Allowlist API lets you view and manage allowlisted IP addresses to which API key and SMTP credential usage is restricted.

List Mailgun account IP allowlist entries

Request

List Mailgun account IP allowlist entries

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

Responses

A 200 response

Bodyapplication/json
addressesArray of objects(github.com-mailgun-cerberus-whitelist-WhitelistRespEntry)required

Allowlisted IP address entries on the account

Response
{ "addresses": [ {} ] }