Skip to content

Add a new DIPP to the account

Request

The account must have 'DIPPs' feature enabled.

Returns the id of the newly created DIPP.

Security
basicAuth
Bodymultipart/form-datarequired
descriptionstringrequired

Description of the DIPP

ipstring

IP address to add to the DIPP (may be specified multiple times)

namestringrequired

Short name of the DIPP

curl -i -X POST \
  -u '<username>:<password>' \
  https://api.mailgun.net/v3/ip_pools \
  -H 'Content-Type: multipart/form-data' \
  -F description=string \
  -F ip=string \
  -F name=string

Responses

A 200 response

Bodyapplication/json
string(string)
Response
{ "message": "success", "pool_id": "658041ae44842b99ee2eaa1b" }