curl --request PUT \
--url https://api.sendpost.io/api/v1/account/ip/allocate \
--header 'Content-Type: application/json' \
--header 'X-Account-ApiKey: <api-key>' \
--data '{
"overflowPool": true,
"ips": [
"34.21.14.11"
]
}'
{
"id": 11321,
"publicIP": "52.34.11.12",
"systemDomain": {
"id": 117,
"name": "piedpiper.com",
"dkim": {
"host": "1587987845._domainkey.hooli.com",
"type": "TXT",
"textValue": "v=DKIM1;k=rsa;s=email;h=sha256;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDsGMUVM1bqebA0bgtf0HQ6P/FZJy42k/OHP0OgVv4WMSsHOvCFre1/6d1GTx3ldeJf612K3L7wV4iJfDMh2FEpuQ+z+pOro3FarWuawoiJbBudgQQ8rResnZ4Sg3W1Zr3tcZgBCEQ9WoLDv/B2dd01p3ZJ40hsco+Fw75Ldnrd3wIDAQAB"
},
"returnPath": {
"host": "sp-bounces.hooli.com",
"type": "CNAME",
"textValue": "sp.sendpost.email"
},
"track": {
"host": "track.hooli.com",
"type": "CNAME",
"textValue": "api.sendpost.io"
},
"dmarc": {
"host": "_dmarc.hooli.com",
"type": "TXT",
"textValue": "v=DMARC1; p=none;"
},
"dkimConfig": "<string>",
"dkimVerified": false,
"dmarcVerified": false,
"returnPathVerified": false,
"trackVerified": true,
"created": 1567512491587205000
},
"reverseDNSHostname": "example.mtaspg.email",
"type": 0,
"gmailSettings": "{\"name\":\"gmail\",\"maxConcurrentConnections\":100,...}",
"yahooSettings": "{\"name\":\"yahoo\",\"maxConcurrentConnections\":16,...}",
"aolSettings": "{\"name\":\"aol\",\"maxConcurrentConnections\":20,...}",
"microsoftSettings": "{\"name\":\"microsoft\",\"maxConcurrentConnections\":16,...}",
"comcastSettings": "{\"name\":\"comcast\",\"maxConcurrentConnections\":20,...}",
"yandexSettings": "{\"name\":\"yandex\",\"maxConcurrentConnections\":2,...}",
"gmxSettings": "{\"name\":\"gmx\",\"maxConcurrentConnections\":2,...}",
"mailruSettings": "{\"name\":\"mailru\",\"maxConcurrentConnections\":1,...}",
"icloudSettings": "{\"name\":\"icloud\",\"maxConcurrentConnections\":20,...}",
"zohoSettings": "{\"name\":\"zoho\",\"maxConcurrentConnections\":1,...}",
"qqSettings": "{\"name\":\"qq\",\"maxConcurrentConnections\":1,...}",
"defaultSettings": "{\"name\":\"default\",\"maxConcurrentConnections\":14,...}",
"attSettings": "{\"name\":\"att\",\"maxConcurrentConnections\":1,...}",
"created": 1703224038766344700,
"infraClassification": "",
"infraMonitor": true,
"state": 1,
"autoWarmupPlan": null
}
Allocates a new IP resource to the account.
curl --request PUT \
--url https://api.sendpost.io/api/v1/account/ip/allocate \
--header 'Content-Type: application/json' \
--header 'X-Account-ApiKey: <api-key>' \
--data '{
"overflowPool": true,
"ips": [
"34.21.14.11"
]
}'
{
"id": 11321,
"publicIP": "52.34.11.12",
"systemDomain": {
"id": 117,
"name": "piedpiper.com",
"dkim": {
"host": "1587987845._domainkey.hooli.com",
"type": "TXT",
"textValue": "v=DKIM1;k=rsa;s=email;h=sha256;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDsGMUVM1bqebA0bgtf0HQ6P/FZJy42k/OHP0OgVv4WMSsHOvCFre1/6d1GTx3ldeJf612K3L7wV4iJfDMh2FEpuQ+z+pOro3FarWuawoiJbBudgQQ8rResnZ4Sg3W1Zr3tcZgBCEQ9WoLDv/B2dd01p3ZJ40hsco+Fw75Ldnrd3wIDAQAB"
},
"returnPath": {
"host": "sp-bounces.hooli.com",
"type": "CNAME",
"textValue": "sp.sendpost.email"
},
"track": {
"host": "track.hooli.com",
"type": "CNAME",
"textValue": "api.sendpost.io"
},
"dmarc": {
"host": "_dmarc.hooli.com",
"type": "TXT",
"textValue": "v=DMARC1; p=none;"
},
"dkimConfig": "<string>",
"dkimVerified": false,
"dmarcVerified": false,
"returnPathVerified": false,
"trackVerified": true,
"created": 1567512491587205000
},
"reverseDNSHostname": "example.mtaspg.email",
"type": 0,
"gmailSettings": "{\"name\":\"gmail\",\"maxConcurrentConnections\":100,...}",
"yahooSettings": "{\"name\":\"yahoo\",\"maxConcurrentConnections\":16,...}",
"aolSettings": "{\"name\":\"aol\",\"maxConcurrentConnections\":20,...}",
"microsoftSettings": "{\"name\":\"microsoft\",\"maxConcurrentConnections\":16,...}",
"comcastSettings": "{\"name\":\"comcast\",\"maxConcurrentConnections\":20,...}",
"yandexSettings": "{\"name\":\"yandex\",\"maxConcurrentConnections\":2,...}",
"gmxSettings": "{\"name\":\"gmx\",\"maxConcurrentConnections\":2,...}",
"mailruSettings": "{\"name\":\"mailru\",\"maxConcurrentConnections\":1,...}",
"icloudSettings": "{\"name\":\"icloud\",\"maxConcurrentConnections\":20,...}",
"zohoSettings": "{\"name\":\"zoho\",\"maxConcurrentConnections\":1,...}",
"qqSettings": "{\"name\":\"qq\",\"maxConcurrentConnections\":1,...}",
"defaultSettings": "{\"name\":\"default\",\"maxConcurrentConnections\":14,...}",
"attSettings": "{\"name\":\"att\",\"maxConcurrentConnections\":1,...}",
"created": 1703224038766344700,
"infraClassification": "",
"infraMonitor": true,
"state": 1,
"autoWarmupPlan": null
}
This api key can be used for all account level operations
Details of the allocated IP
The response is of type object
.