IP pools are routing targets for your streams. Use them when you send at volume, need dedicated IPs, or want separate pools for different kinds of mail, such as sign-in codes and campaigns.
curl "https://api.sendlib.com/v1/ips" \
-H "Authorization: Bearer $SENDLIB_API_KEY"{
"error": {
"message": "Missing or invalid API key."
}
}curl -X POST "https://api.sendlib.com/v1/ip-pools" \
-H "Authorization: Bearer $SENDLIB_API_KEY"{
"error": {
"message": "Missing or invalid API key."
}
}curl "https://api.sendlib.com/v1/ip-pools" \
-H "Authorization: Bearer $SENDLIB_API_KEY"{
"error": {
"message": "Missing or invalid API key."
}
}Get IP pool
GET/v1/ip-pools/{pool_id}
Get an IP pool by id.
Path parameters
pool_idstringRequiredThe pool id.
curl "https://api.sendlib.com/v1/ip-pools/POOL_ID" \
-H "Authorization: Bearer $SENDLIB_API_KEY"{
"error": {
"message": "Missing or invalid API key."
}
}Update IP pool
PATCH/v1/ip-pools/{pool_id}
Patch an IP pool by id.
Path parameters
pool_idstringRequiredThe pool id.
curl -X PATCH "https://api.sendlib.com/v1/ip-pools/POOL_ID" \
-H "Authorization: Bearer $SENDLIB_API_KEY"{
"error": {
"message": "Missing or invalid API key."
}
}Delete IP pool
DELETE/v1/ip-pools/{pool_id}
Delete an IP pool by id.
Path parameters
pool_idstringRequiredThe pool id.
curl -X DELETE "https://api.sendlib.com/v1/ip-pools/POOL_ID" \
-H "Authorization: Bearer $SENDLIB_API_KEY"{
"error": {
"message": "Missing or invalid API key."
}
}Remove IP from pool
DELETE/v1/ip-pools/{pool_id}/ips/{ip_id}
Remove a specific IP assignment from an IP pool.
Path parameters
pool_idstringRequiredThe pool id.
ip_idstringRequiredThe ip id.
curl -X DELETE "https://api.sendlib.com/v1/ip-pools/POOL_ID/ips/IP_ID" \
-H "Authorization: Bearer $SENDLIB_API_KEY"{
"error": {
"message": "Missing or invalid API key."
}
}Add IPs to pool
POST/v1/ip-pools/{pool_id}/ips
Associate one or more tenant IPs with an IP pool.
Path parameters
pool_idstringRequiredThe pool id.
curl -X POST "https://api.sendlib.com/v1/ip-pools/POOL_ID/ips" \
-H "Authorization: Bearer $SENDLIB_API_KEY"{
"error": {
"message": "Missing or invalid API key."
}
}Next
- Ramping a new pool: Warmup and pacing
