---
title: "Create a cluster link"
method: POST
path: "/kafka/v3/clusters/{cluster_id}/links"
tags: ["Cluster Linking (v3)"]
---

# Create a cluster link

`POST /kafka/v3/clusters/{cluster_id}/links`

[![Generally Available](https://img.shields.io/badge/Lifecycle%20Stage-Generally%20Available-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Cluster link creation requires source cluster security configurations in
the configs JSON section of the data request payload.

## Query parameters

- `link_name` string, required
- `validate_only` boolean
- `validate_link` boolean

## Request body

- CreateLinkRequestData
  - `source_cluster_id` string
  - `destination_cluster_id` string
  - `remote_cluster_id` string — The expected remote cluster ID.
  - `cluster_link_id` string — The expected cluster link ID. Can be provided when creating the second side of a bidirectional link for validating the link ID is as expected. If it's not provided, it's inferred from the remote cluster.
  - `configs` ConfigData[]
    - `name` string, required
    - `value` string, nullable, required

## Response `204`

Operation succeeded, no content in the response

## Other responses

- `400` — Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure.
- `401` — Indicates a client authentication error. Kafka authentication failures will contain error code 40101 in the response body.
- `429` — Indicates that a rate limit threshold has been reached, and the client should retry again later.
- `5XX` — A server-side problem that might not be addressable from the client side. Retriable Kafka errors will contain error code 50003 in the response body.

---

[API](https://skmtc.dev/confluent/apis/confluent-cloud-apis.md) · [All operations](https://skmtc.dev/confluent/apis/confluent-cloud-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/confluent/apis/confluent-cloud-apis/revisions/1833d767d77c?raw)
