---
title: "POST /listkeys"
method: POST
path: "/listkeys"
tags: ["Account"]
---

# POST /listkeys

`POST /listkeys`

Lists the connection strings that allow connecting with the Managed Event Hub, if it is provisioned. Those connection strings are aimed to receive messages from the ATLAS_ENTITIES hub or to send messages to the ATLAS_HOOK hub.

## Query parameters

- `api-version` string, required

## Response `200`

Success

- AccessKeys — The Account access keys.
  - `atlasKafkaPrimaryEndpoint` string — Gets or sets the primary connection string.
  - `atlasKafkaSecondaryEndpoint` string — Gets or sets the secondary connection string.

## Other responses

- `default` — An error response received from the provider.

---

[API](https://skmtc.net/azure/apis/purview-account.md) · [All operations](https://skmtc.net/azure/apis/purview-account/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/purview-account/versions/dc51c3b3ddf7/schema)
