---
title: "Get Customer Domain"
method: GET
path: "/api/customer-domains/{id}"
tags: ["Customer Domains"]
---

# Get Customer Domain

`GET /api/customer-domains/{id}`

## Request

- Base URL: `https://uptimeify.io`
- URL: `https://uptimeify.io/api/customer-domains/{id}`
- Auth: HTTP bearer

GET /api/customer-domains/:id

## Path parameters

- `id` string, required

## Response `200`

OK

- object
  - `id` integer, required
  - `publicId` string, uuid, required
  - `customerId` integer, required
  - `label` string, nullable, required
  - `domainName` string, required
  - `status` 'active' | 'disabled', required
  - `managementType` 'managed' | 'self_service', required
  - `expiryWarningDays` integer, required
  - `expiryErrorDays` integer, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `customerName` string, required
  - `notificationContext` object, required: Who gets notified, and through which channels.
    - `customerEmail` string, nullable, required
    - `customerNotificationChannels` object, nullable, required
    - `customerNotificationTargets` object, nullable, required: Who receives each channel type; null = organization default.
    - `orgDefaultEmail` string, nullable, required
    - `orgDefaultPhoneNumber` string, nullable, required
    - `orgDefaultNotificationChannels` object, nullable, required
    - `orgDefaultNotificationTargets` object, nullable, required: Who receives each channel type; null = organization default.
  - `expiry` object, nullable, required: Latest RDAP result; null until the first check.
    - `domainExpiresAt` string, date-time, nullable, required
    - `domainRegistrar` string, nullable, required
    - `isExpired` boolean, required
    - `lastError` string, nullable, required
    - `lastCheckedAt` string, date-time, nullable, required
    - `lastChangedAt` string, date-time, nullable, required
    - `lastNotifiedWarningAt` string, date-time, nullable, required
    - `lastNotifiedErrorAt` string, date-time, nullable, required
    - `lastNotifiedExpiredAt` string, date-time, nullable, required

## Other responses

- `400`: Invalid or missing parameters.
- `401`: Missing, invalid or expired API token.
- `404`: No such resource, or not visible to this token.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api.md) · [All operations](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/revisions/2129a771ee7e?raw)
