---
title: "List custom hostnames"
method: GET
path: "/vpc-connect/custom-hostnames"
tags: ["VPC Connect"]
---

# List custom hostnames

`GET /vpc-connect/custom-hostnames`

Lists all custom hostnames configured for the VPC Connect service. Custom hostnames
provide a DNS record under cloudamqp.com that points to the private IP of the PrivateLink
or Private Service Connect endpoint. The `active` field indicates whether the endpoint
connection still exists. Inactive (orphaned) hostnames can be removed.

## Response `200`

List of configured custom hostnames

- object[]
  - `endpoint_id` string, required — The VPC endpoint connection ID
  - `hostname` string, required — The custom hostname under cloudamqp.com
  - `active` boolean, required — Whether the endpoint connection still exists

---

[API](https://skmtc.dev/cloudamqp/apis/cloudamqp-instance-api.md) · [All operations](https://skmtc.dev/cloudamqp/apis/cloudamqp-instance-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudamqp/cloudamqp-instance-api/revisions/d04a3670170c/schema)
