---
title: "Add export"
method: POST
path: "/accounts/export"
tags: ["Account Management"]
---

# Add export

`POST /accounts/export`

Adds a new export to the account.
 - Enables an account to make its internal resources (such as data streams or services) available to other accounts.

## Request body

- ExportRequest
  - `export` object, required
    - `name` string, required — Unique name for the export within the account
    - `subject` string, required — Subject pattern defining what is being exported
    - `token_position` integer — Optional parameter that determines how authentication is handled
    - `type` 'stream' | 'service', required — Type of resource being exported

## Response `200`

Export added successfully

- SuccessResponse
  - `message` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized

---

[API](https://skmtc.net/quivaworks/apis/quiva-ai-gateway.md) · [All operations](https://skmtc.net/quivaworks/apis/quiva-ai-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quivaworks/quiva-ai-gateway/revisions/771d118bd4d1/schema)
