---
title: "GET /v1/hosts/{id}"
method: GET
path: "/v1/hosts/{id}"
tags: ["Hosts"]
---

# GET /v1/hosts/{id}

`GET /v1/hosts/{id}`

## Request

- Base URL: `https://api.redirectboss.com`
- URL: `https://api.redirectboss.com/v1/hosts/{id}`
- Auth: API key in header `X-Api-Key`

Retrieve a single host, including its redirect count.

## Path parameters

- `id` string, uuid, required

## Response `200`

Default Response

- object
  - `data` object, required
    - `id` string, uuid: Unique host identifier
    - `host` string, hostname: The domain name (e.g. "example.com")
    - `handleWww` boolean: Whether the www subdomain is also handled (e.g. www.example.com)
    - `isDnsResolving` boolean: Whether the apex domain DNS is resolving to our servers. Null if not yet checked.
    - `dnsLastCheckedAt` string, date-time: When DNS resolution was last verified. Null if not yet checked.
    - `sslEnabledAt` string, date-time: When SSL was enabled for the apex domain. Null if SSL is not enabled.
    - `wwwSslEnabledAt` string, date-time: When SSL was enabled for the www subdomain. Null if SSL is not enabled.
    - `wwwDnsResolving` boolean: Whether the www subdomain DNS is resolving to our servers. Null if not yet checked.
    - `createdAt` string, date-time: When the host was created
    - `updatedAt` string, date-time: When the host was last updated
    - `redirectCount` integer: Number of redirects configured for this host
  - `meta` object, required
    - `requestId` string: Unique identifier for this request

## Other responses

- `404`: Default Response
- `429`: Default Response

---

[API](https://skmtc.dev/redirectboss/apis/redirectboss-api.md) · [All operations](https://skmtc.dev/redirectboss/apis/redirectboss-api/llms.txt) · [OpenAPI document](https://skmtc.dev/redirectboss/apis/redirectboss-api/revisions/0159ad2b68fa?raw)
