---
title: "POST /api/v1/checks/add-whois/"
method: POST
path: "/api/v1/checks/add-whois/"
tags: ["checks"]
---

# POST /api/v1/checks/add-whois/

`POST /api/v1/checks/add-whois/`

## Request

- Base URL: `https://uptime.com` (the document declares no server; this is the origin it was published from)
- URL: `https://uptime.com/api/v1/checks/add-whois/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/docs/api/v1/checks/add-whois/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new WHOIS - Domain Lookup & Expiry check

## Request body

- ChecksWHOIS
  - `pk` integer
  - `url` string
  - `stats_url` string, uri
  - `alerts_url` string, uri
  - `share_url` string, uri
  - `name` string
  - `cached_response_time` number
  - `contact_groups` string[], required: Array of contact names or IDs associated with this check. Use GET /api/v1/contacts/ to list available contacts.
  - `created_at` string, date-time
  - `modified_at` string, date-time
  - `locations` string[]: Array of locations associated with this check. Locations are auto-assigned for this check type if left empty or omitted. Use GET /api/v1/checks/locations/ to list available locations.
  - `tags` string[]: Array of tag names or IDs associated with this check. Use GET /api/v1/check-tags/ to list available tags.
  - `check_type` string
  - `escalations` string
  - `monitoring_service_type` string
  - `is_paused` boolean
  - `send_resolved_notifications` boolean: Send resolve notifications when pausing the check
  - `is_under_maintenance` string
  - `state_is_up` boolean
  - `state_changed_at` string, date-time
  - `maintenance_schedules` integer[]: Array of maintenance schedule IDs associated with this check.
  - `msp_address` string, required
  - `msp_expect_string` string, required
  - `msp_threshold` integer, nullable, required
  - `msp_num_retries` integer
  - `msp_uptime_sla` string, decimal
  - `msp_notes` string

## Response `200`

- ChecksWHOIS
  - `pk` integer
  - `url` string
  - `stats_url` string, uri
  - `alerts_url` string, uri
  - `share_url` string, uri
  - `name` string
  - `cached_response_time` number
  - `contact_groups` string[], required: Array of contact names or IDs associated with this check. Use GET /api/v1/contacts/ to list available contacts.
  - `created_at` string, date-time
  - `modified_at` string, date-time
  - `locations` string[]: Array of locations associated with this check. Locations are auto-assigned for this check type if left empty or omitted. Use GET /api/v1/checks/locations/ to list available locations.
  - `tags` string[]: Array of tag names or IDs associated with this check. Use GET /api/v1/check-tags/ to list available tags.
  - `check_type` string
  - `escalations` string
  - `monitoring_service_type` string
  - `is_paused` boolean
  - `send_resolved_notifications` boolean: Send resolve notifications when pausing the check
  - `is_under_maintenance` string
  - `state_is_up` boolean
  - `state_changed_at` string, date-time
  - `maintenance_schedules` integer[]: Array of maintenance schedule IDs associated with this check.
  - `msp_address` string, required
  - `msp_expect_string` string, required
  - `msp_threshold` integer, nullable, required
  - `msp_num_retries` integer
  - `msp_uptime_sla` string, decimal
  - `msp_notes` string

---

[API](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema.md) - [All operations](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/llms.txt) - [OpenAPI document](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/revisions/e1e4a57a60d8?raw)
