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
200 with the customer IP record, and the record now carries a deduplicated flag.
Repeating a request with exactly the same body does NOT create a second, separately billable monitor: the entry that already exists is returned again and the response carries "deduplicated": true, while a first creation carries "deduplicated": false. Both cases answer 200. The comparison covers the whole request and not just ipAddress, so the same address sent again with a different label or status is a different request and does create a second entry -- there is no uniqueness check on the address itself. A recognised repeat is not counted against the active-IP limit.
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 exist- there is no
409on this route: an address that is already present under this customer with exactly the same body comes back as a recognised repeat (see Response), and with a different body it becomes a second entry