---
title: "List allowed hostnames"
method: GET
path: "/domains/allowedHostnames/{domainId}"
tags: ["Domains"]
---

# List allowed hostnames

`GET /domains/allowedHostnames/{domainId}`

## Request

- Base URL: `https://api.short.io`
- URL: `https://api.short.io/domains/allowedHostnames/{domainId}`
- Auth: API key in header `Authorization`

Returns the domain's allowed-hostnames list.

## Path parameters

- `domainId` integer, required

## Response `200`

Default Response

---

[API](https://skmtc.dev/short/apis/short-io-api-2.md) · [All operations](https://skmtc.dev/short/apis/short-io-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/short/apis/short-io-api-2/revisions/9e4e60c560b1?raw)
