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

# Add import

`POST /accounts/import`

Adds a new import to the account.
- When an account adds an import, it's essentially creating a mapping that allows it to access and utilize resources (such as data streams or services) that are exported by another account. This request creates a trust relationship between accounts where one account can consume resources produced by another.

## Request body

- ImportRequest
  - `import` object, required
    - `name` string, required — Unique name for the import within the account
    - `subject` string, required — Subject pattern to be imported
    - `account` string, required — Account from which the resource is being imported
    - `token_position` integer — Optional parameter for authentication handling

## Response `200`

Import 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)
