---
title: "Creates a new schema exporter"
method: POST
path: "/exporters"
tags: ["Exporters (v1)"]
---

# Creates a new schema exporter

`POST /exporters`

Creates a new schema exporter. All attributes in request body are optional except config.

## Request body

- ExporterReference — The format for a typical exporter object
  - `name` string — Name of the exporter
  - `contextType` string — Context type of the exporter. One of CUSTOM, NONE or AUTO (default)
  - `context` string — Customized context of the exporter if contextType equals CUSTOM.
  - `subjects` string[] — Name of each exporter subject
  - `kekRenameFormat` string — Format string for the KEK name in the destination cluster, which may contain ${kek} as a placeholder for the originating KEK name. For example, dc_${kek} for the KEK aws_key will map to the destination KEK name dc_aws_key.
  - `subjectRenameFormat` string — Format string for the subject name in the destination cluster, which may contain ${subject} as a placeholder for the originating subject name. For example, dc_${subject} for the subject orders will map to the destination subject name dc_orders.
  - `config` object — The map containing exporter's configurations

## Response `200`

Schema successfully registered.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `409` — Conflict. Error code 40950 – Missing or invalid exporter name \ Error code 40951 – Missing or invalid exporter config \ Error code 40952 – Invalid exporter subjects \ Error code 40960 – Exporter already exists \ Error code 40964 – Too many exporters
- `429` — Rate Limit Exceeded
- `500` — Internal Server Error

---

[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-service-production.skmtc.workers.dev/v1/apis/confluent/confluent-cloud-apis/revisions/a6a73f98a698/schema)
