---
title: "Export Environment Configuration"
method: POST
path: "/api/v1/environment/export"
tags: ["Environment"]
---

# Export Environment Configuration

`POST /api/v1/environment/export`

Download a JSON file containing all org-settings and event types.

Note that the schema for [`EnvironmentOut`] is subject to change. The fields
herein are provided for convenience but should be treated as JSON blobs.

## Headers

- `idempotency-key` string

## Response `200`

- EnvironmentOut
  - `version` integer
  - `createdAt` string, date-time, required
  - `eventTypes` EventTypeOut[], required
    - `name` string, required — The event type's name
    - `description` string, required
    - `archived` boolean
    - `deprecated` boolean, required
    - `schemas` object, nullable — The schema for the event type for a specific version as a JSON schema.
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `groupName` string, nullable — The event type group's name
    - `featureFlags` string[], nullable
    - `featureFlag` string, nullable
  - `settings` object, nullable, required
  - `connectors` ConnectorOut[], required
    - `id` string, required — The Connector's ID.
    - `orgId` string, required — The Environment's ID.
    - `uid` string, nullable — The Connector's UID.
    - `kind` 'Custom' | 'AgenticCommerceProtocol' | 'CloseCRM' | 'CustomerIO' | 'Discord' | 'Hubspot' | 'Inngest' | 'Loops' | 'Otel' | 'Resend' | 'Salesforce' | 'Segment' | 'Sendgrid' | 'Slack' | 'Teams' | 'TriggerDev' | 'Windmill' | 'Zapier', required
    - `name` string, required
    - `logo` string, uri, nullable
    - `description` string, required
    - `instructions` string, required
    - `allowedEventTypes` string[], nullable
    - `transformation` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `transformationUpdatedAt` string, date-time, required
    - `featureFlags` string[], nullable
    - `productType` 'Dispatch' | 'Stream', required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Validation Error
- `429` — Too Many Requests

---

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