---
title: "🧪 Create an OTLP exporter"
method: POST
path: "/otel/exporters"
tags: ["OTel"]
---

# 🧪 Create an OTLP exporter

`POST /otel/exporters`

[__EXPERIMENTAL__] Creates a new OTLP exporter configuration for the given organization. A maximum of 5 exporter configurations are allowed per organization.

## Request body

- CreateExporterRequest
  - `org_id` string, uuid, required — The organization ID to create the exporter for.
  - `endpoint` string, required — The OTLP endpoint to send spans to. Don't include https:// or grpc://. Just the hostname and port are required.
  - `protocol` 'grpc' | 'http', required — The OTLP transport to use when exporting data.
  - `insecure` boolean — Whether to use an insecure connection to the endpoint.
  - `headers` object — Additional headers to include in export requests.

## Response `201`

OTLP exporter created.

- Exporter
  - `id` string, uuid — The exporter ID.
  - `org_id` string, uuid — The organization ID that owns this exporter.
  - `endpoint` string — The OTLP endpoint to send spans to.
  - `protocol` 'grpc' | 'http' — The OTLP transport to use when exporting data.
  - `insecure` boolean — Whether to use an insecure connection to the endpoint.
  - `headers` object — Additional headers to include in export requests. Header values are encrypted at rest and will appear redacted as "xxxx" in responses.
  - `issues` string[] — A list of validation issues detected with this exporter configuration, such as an endpoint that no longer resolves. Only present when issues are detected.

## Other responses

- `400` — JSON passed in the request does not adhere to the expected schema.
- `401` — Credentials provided are invalid.
- `404` — Entity not found.
- `500` — Internal server error.

---

[API](https://skmtc.net/circleci/apis/api-v2.md) · [All operations](https://skmtc.net/circleci/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/circleci/api-v2/revisions/b9c0e0c24058/schema)
