---
title: "Import Slash Command"
method: POST
path: "/api/slash-commands/review/import"
---

# Import Slash Command

`POST /api/slash-commands/review/import`

## Request body

- SlashCommandImportRequest
  - `name` string, required
  - `target` 'opencode' | 'claude' | 'cursor' | 'codex', required

## Response `200`

Successful Response

- SlashCommandMutationResponse
  - `command` SlashCommandResponse, required
    - `description` string, required
    - `name` string, required
    - `prompt` string, required
    - `syncTargets` SlashSyncEntryResponse[], required
      - `error` string, nullable
      - `path` string, required
      - `status` 'synced' | 'removed' | 'not_selected' | 'blocked_manual_file' | 'blocked_modified_file' | 'missing' | 'drifted' | 'failed', required
      - `target` 'opencode' | 'claude' | 'cursor' | 'codex', required
  - `ok` boolean, required
  - `sync` SlashSyncEntryResponse[], required
    - `error` string, nullable
    - `path` string, required
    - `status` 'synced' | 'removed' | 'not_selected' | 'blocked_manual_file' | 'blocked_modified_file' | 'missing' | 'drifted' | 'failed', required
    - `target` 'opencode' | 'claude' | 'cursor' | 'codex', required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mode-io/apis/skill-manager.md) · [All operations](https://skmtc.net/mode-io/apis/skill-manager/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mode-io/skill-manager/versions/a2b29a5aa8b4/schema)
