---
title: "Verify whether the supplied X-Owner-Token or X-Manage-Key owns the publication on a host"
method: GET
path: "/api/hosts/{host}/owner-check"
tags: ["Owner Check"]
---

# Verify whether the supplied X-Owner-Token or X-Manage-Key owns the publication on a host

`GET /api/hosts/{host}/owner-check`

## Request

- Base URL: `https://brewpage.app`
- URL: `https://brewpage.app/api/hosts/{host}/owner-check`
- Auth: one of:
  - none
  - API key in header `X-Owner-Token`
  - API key in header `X-Manage-Key`

200 `{isOwner:false}` alike for unknown, retired, hidden and not-owned hosts; an owner gets `{isOwner:true, type, namespace, id}`.

## Path parameters

- `host` string, required

## Headers

- `X-Owner-Token` unknown
- `X-Manage-Key` unknown

## Response `200`

OK

- HostOwnerCheckResponse
  - `type` string: Resource type (html, kv, json, file, site); owners only
  - `namespace` string: Publication namespace; owners only
  - `id` string: Publication id; owners only
  - `isOwner` boolean, required

## Changes

- **2026-10-25** `2464cfa07b83`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/brewpage/apis/brewpage-api/changes/api/hosts/:host/owner-check/get.md)

---

[API](https://skmtc.dev/brewpage/apis/brewpage-api.md) - [All operations](https://skmtc.dev/brewpage/apis/brewpage-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brewpage/apis/brewpage-api/revisions/78d2720a18a9?raw)
