POST
/
account
/
ippool
Create a New IPPool
curl --request POST \
  --url https://api.sendpost.io/api/v1/account/ippool \
  --header 'Content-Type: application/json' \
  --header 'X-Account-ApiKey: <api-key>' \
  --data '{
  "name": "Marketing Promotional",
  "tpsps": [
    1
  ],
  "ips": [
    {
      "publicIP": "3.238.19.87"
    }
  ]
}'
{
  "id": 3,
  "name": "Marketing Promotional",
  "created": 1686304219037565000,
  "ips": [
    {
      "id": 6,
      "publicIP": "3.238.19.86",
      "reverseDNSHostname": "sp0006.mtaspb.email",
      "type": 1,
      "created": 1597511124804000
    }
  ],
  "thirdPartySendingProviders": [
    {
      "id": 1,
      "name": "sendgrid",
      "type": 1,
      "domain": "",
      "endpoint": "",
      "key": "",
      "secret": "your_api_key",
      "port": 0,
      "oauthToken": "",
      "retryTime": 0,
      "created": 1597511124701000
    }
  ],
  "routingStrategy": 0,
  "routingMetaData": "{}"
}

Authorizations

X-Account-ApiKey
string
header
required

This api key can be used for all account level operations

Body

application/json

Response

200
application/json

Created IPPool details

The response is of type object.