---
title: "List Confluent accounts"
method: GET
path: "/api/v2/integrations/confluent-cloud/accounts"
tags: ["Confluent Cloud"]
---

# List Confluent accounts

`GET /api/v2/integrations/confluent-cloud/accounts`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

List Confluent accounts.

## Response `200`

OK

- ConfluentAccountsResponse: Confluent account returned by the API.
  - `data` ConfluentAccountResponseData[]: The Confluent account.
    - `attributes` ConfluentAccountResponseAttributes, required: The attributes of a Confluent account.
      - `api_key` string, required: The API key associated with your Confluent account.
      - `resources` ConfluentResourceResponseAttributes[]: A list of Confluent resources associated with the Confluent account.
        - `enable_custom_metrics` boolean: Enable the `custom.consumer_lag_offset` metric, which contains extra metric tags.
        - `id` string: The ID associated with the Confluent resource.
        - `resource_type` string, required: The resource type of the Resource. Can be `kafka`, `connector`, `ksql`, or `schema_registry`.
        - `tags` string[]: A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
      - `tags` string[]: A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
    - `id` string, required: A randomly generated ID associated with a Confluent account.
    - `type` 'confluent-cloud-accounts', required: The JSON:API type for this API. Should always be `confluent-cloud-accounts`.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
