---
title: "List VPC Private Endpoints"
method: GET
path: "/groups/{groupId}/apps/{appId}/security/private_endpoints"
tags: ["security"]
---

# List VPC Private Endpoints

`GET /groups/{groupId}/apps/{appId}/security/private_endpoints`

Get a list of all private endpoints configured for the App.

## Response `200`

Successfully listed endpoints.

- PrivateEndpoint[]
  - `_id` string
  - `cloud_provider_region` string — The cloud provider region that hosts the private endpoint.
  - `cloud_provider_endpoint_id` string — The private endpoint ID from the cloud provider.
  - `comment` string — An optional comment that describes the endpoint.
  - `endpoint_type` 'sync' | 'general' | 'legacy' — The type of endpoint. For more information on migrating deprecated `"legacy"` endpoints, see [Migrate Legacy Endpoints](https://www.mongodb.com/docs/atlas/app-services/security/private-endpoints/#migrate-a-legacy-endpoint).

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/mongodb/apis/mongodb-atlas-app-services-admin-api.md) · [All operations](https://skmtc.net/mongodb/apis/mongodb-atlas-app-services-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mongodb/mongodb-atlas-app-services-admin-api/revisions/1365ab72bc03/schema)
