---
title: "Sftp Move Claim"
method: POST
path: "/internal/sftp/move-claim"
tags: ["Internal Services", "SFTP Callbacks"]
---

# Sftp Move Claim

`POST /internal/sftp/move-claim`

## Request

- Base URL: `https://developer.claimmind.life` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.claimmind.life/internal/sftp/move-claim`
- Auth: none declared. Required headers: `X-API-Key`

Move a single claim's SFTP folder/file to processed or errors immediately.
Called per-claim from ExternalSftpBatchProcessingWorkflow as soon as each
claim finishes, rather than waiting for the whole batch.
Credentials are fetched server-side from the tenant config — not passed in the request body.

## Headers

- `X-API-Key` string, required

## Request body

- SftpMoveClaimRequest: Request body for the per-claim SFTP folder move endpoint.
  - `sftp_path` string, required
  - `batch_id` integer, required
  - `target` 'processed' | 'errors', required
  - `claim_id` string, nullable
  - `session_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/claimmind/apis/claimmind-open-api-service.md) - [All operations](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/revisions/ee8bfbeadb8a?raw)
