Skip to content

Assign an IP to all account domains

Request

The IP must belong to the account.

Security
basicAuth
Path
ipstringrequired

The IP to Add

curl -i -X POST \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v3/ips/{ip}/domains'

Responses

A 200 response

Bodyapplication/json
messagestringrequired
reference_idstringrequired
Response
{ "message": "started", "reference_id": "61926093321d1cba88f3b95b" }