domains
GET /v1/domain-watches
The domains this customer is watching — ours, theirs and third parties'.
Аутентификация
Передайте API-ключ в качестве маркера носителя (bearer token). Эта конечная точка не указывает конкретное разрешение в спецификации, поэтому предоставьте своему ключу минимум необходимых прав и проверьте ответ, вместо того чтобы делать предположения.
Идентификатор вашей организации
Этот эндпоинт принимает org_id в качестве параметра запроса. Оставьте его пустым, и вызов охватит все поддерево вашей аренды; передайте его, чтобы сузить область вызова до одной организации.
Идентификатор вашей организации находится на экране ключей API в вашей панели управления, рядом с самим ключом. Это один и тот же идентификатор для каждого вашего запроса.
Попробовать
Замените всё в угловых скобках на собственные значения, а плейсхолдер ключа — на ключ из вашей панели управления.
curl -X GET https://api.zinndigital.com/v1/domain-watches \
-H "Authorization: Bearer zdk_live_…"Вошли в систему? Консоль API в вашей панели управления автоматически подставляет реальный идентификатор вашей организации и ваш собственный ключ, а также выполняет запрос к работающему API, чтобы вы могли увидеть актуальный ответ. Откройте эту конечную точку в API-консоли
Подробнее
The domain monitor (⚖️ owner 2026-08-30, `docs/296` §5). Every domain registered with us and every domain attached to hosting with us is on this list automatically; the customer may add any other name they like, mute one, or remove it. ⛔ **A removed watch is soft-removed and never returned here.** Auto-add runs on every provision, so a hard delete would let tomorrow's provision resurrect a domain the customer deliberately took off their list — for ever, with no way for them to make it stop. `last_checked_at` is when the registry last answered, and it is rendered beside every value on the row for a reason: these facts are a snapshot of the outside world and go stale silently (§2.36). A tick with no date on it is indistinguishable from a live one. `expires_at` and `days_until_expiry` are `null` when the registry did not say — which is a different fact from "it expires in a decade" and must not render as one.
Параметры
| Имя | Тип | Обязательно | Что это |
|---|---|---|---|
org_id (query) | string | Нет | Narrow to one organisation in the caller's subtree — what the dashboard's org switcher sends. ⛔ **Narrow only:** intersected with what the caller may already read, so it can nev… |
source (query) | string<registered, hosting, manual> | Нет | Only watches that arrived this way. |
limit (query) | integer | Нет | — |
offset (query) | integer | Нет | — |
Ответ
| Имя | Тип | Обязательно | Что это |
|---|---|---|---|
items | DomainWatch[] | Да | — |
total | integer | Да | The full match, so the screen can page all of it. |
Ошибки, которые может возвращать этот эндпоинт
401 · 403