MonitorsDnsbl monitoring
Create Customer IP (Customer)
title: Create Customer IP (Customer) description: POST /api/customers/:customerPublicId/ips
Create Customer IP (Customer)
POST /api/customers/:customerPublicId/ips
Creates a new customer IP for DNSBL monitoring.
Request Body
{
"ipAddress": "203.0.113.10",
"label": "Mail Server",
"ipFamily": "v4",
"status": "active"
}Notes:
customerPublicIdshould be the customer public UUID. Legacy numeric customer IDs remain supported for compatibility.ipFamilyis optional; if omitted, it is inferred from the IP address.- If
ipFamilyis provided, it must match the IP address version. - Creating an
activeIP may be blocked by quota limits.
Example (cURL)
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"
curl -X POST "$BASE_URL/api/customers/6bfec6f6-245a-47ce-843b-157d97d56f88/ips" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"ipAddress":"203.0.113.10","label":"Mail Server","status":"active"}'Response
Returns the newly created customer IP record.
Common errors
400 Invalid Customer identifierwhen:customerPublicIdis missing/invalid400 Invalid IP addresswhenipAddressis invalid400 IP family mismatch...whenipFamilydoes not match the IP401 Unauthorizedwhen you are not logged in403 Forbiddenfor readonly/global supporter users, or when you cannot access the customer403 Active IP limit reached...when creating/activating would exceed your quota404 Customer not foundwhen the customer does not exist409 IP already exists for this customerwhen the IP is already present