---
title: "POST /public/confluent/v1/confluent-organization/test-connection"
method: POST
path: "/public/confluent/v1/confluent-organization/test-connection"
tags: ["confluent"]
---

# POST /public/confluent/v1/confluent-organization/test-connection

`POST /public/confluent/v1/confluent-organization/test-connection`

## Request

- Base URL: `https://developers.conduktor.io` (the document declares no server; this is the origin it was published from)
- URL: `https://developers.conduktor.io/public/confluent/v1/confluent-organization/test-connection`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/conduktor/apis/conduktor-console-api/docs/public/confluent/v1/confluent-organization/test-connection/post.ts> (a function with typed inputs; its response is checked against the schema)

Test reachability of the Confluent Cloud organization with the supplied credentials

## Request body

- TestConnectionRequest
  - `name` string, required
  - `apiKey` string, required
  - `apiSecret` string, required

## Response `200`

- TestConnectionResponse
  - `reachable` boolean, required
  - `ccOrganizationId` string
  - `ccOrganizationName` string
  - `environmentCount` integer, required
  - `message` string

## Other responses

- `400`: The request is not valid
- `401`: The user is not authenticated
- `403`: The user doesn't have the required permission(s) "platform.flink.manage" to do this operation
- `404`: The searched entity was not found
- `500`: An unexpected error occurred in the server

---

[API](https://skmtc.dev/conduktor/apis/conduktor-console-api.md) - [All operations](https://skmtc.dev/conduktor/apis/conduktor-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conduktor/apis/conduktor-console-api/revisions/24750c294805?raw)
