---
title: "Get private endpoint configuration"
method: GET
path: "/v1/organizations/{organizationId}/services/{serviceId}/privateEndpointConfig"
tags: ["Service"]
---

# Get private endpoint configuration

`GET /v1/organizations/{organizationId}/services/{serviceId}/privateEndpointConfig`

## Request

- Base URL: `https://api.clickhouse.cloud`
- URL: `https://api.clickhouse.cloud/v1/organizations/{organizationId}/services/{serviceId}/privateEndpointConfig`
- Auth: HTTP basic

Information required to set up a private endpoint

## Path parameters

- `organizationId` string, uuid, required
- `serviceId` string, uuid, required

## Response `200`

Successful response

- object
  - `status` number: HTTP status code.
  - `requestId` string, uuid: Unique id assigned to every request. UUIDv4
  - `result` PrivateEndpointConfig
    - `endpointServiceId` string: Unique identifier of the interface endpoint you created in your VPC with the AWS(Service Name), GCP(Target Service) or AZURE (Private Link Service) resource
    - `privateDnsHostname` string: Private DNS Hostname of the VPC you created

## Other responses

- `400`: The request cannot be processed due to a client error. Please verify your request parameters and try again.
- `500`: An internal server error has occurred. If this issue persists, please contact ClickHouse Cloud support for assistance.

---

[API](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud.md) - [All operations](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/revisions/eac345053548?raw)
