---
title: "Import Workspace Usecase"
method: POST
path: "/api/workspaces/{workspace_id}/usecases/import"
---

# Import Workspace Usecase

`POST /api/workspaces/{workspace_id}/usecases/import`

## Request

- Base URL: `https://api.outcallerai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outcallerai.com/api/workspaces/{workspace_id}/usecases/import`
- Auth: none declared

Copy a use case out of another workspace into this one.

The source is never modified. Fields that cannot cross a workspace boundary are not
copied; use the preview endpoint to see what needs a replacement. Requires editor
access to the source use case.

## Path parameters

- `workspace_id` string, required

## Request body

- UseCaseImportRequest: Copy a use case from another workspace the caller can also read. Every field other than the source pair is a replacement the caller picked in the import preview. Omitting one means "use the default", and the defaults never carry a workspace-scoped value across the workspace boundary.
  - `sourceWorkspaceId` string, required
  - `sourceUseCaseId` string, required
  - `name` string, nullable
  - `integrations` string[], nullable
  - `agentVoiceOverrides` object
  - `selectedKnowledgeBaseId` string, nullable

## Response `201`

Successful Response

- UseCaseEnvelopeResponse

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-14** `3352c1282935`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outcallerai/apis/fastapi/changes/api/workspaces/:workspace_id/usecases/import/post.md)

---

[API](https://skmtc.dev/outcallerai/apis/fastapi.md) - [All operations](https://skmtc.dev/outcallerai/apis/fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/outcallerai/apis/fastapi/revisions/40736cf433b4?raw)
