---
title: "POST /api/capa/import-actions/"
method: POST
path: "/api/capa/import-actions/"
tags: ["CAPA"]
---

# POST /api/capa/import-actions/

`POST /api/capa/import-actions/`

Import actions (Corrective and Preventive Actions) from findings

## Request body

- object
  - `sourceType` string, required
  - `sourceId` string, required
  - `companyId` string, required
  - `findings` object[], required
    - `title` string, required
    - `description` string, required
    - `severity` 'A' | 'B' | 'C' | 'D' | 'E'
    - `impactAreaId` string
    - `impactAreaExtractedName` string
    - `actions` object[], required
      - `title` string, required
      - `description` string, required
      - `type` string, required
      - `status` string
      - `dueDate` string
      - `severity` 'A' | 'B' | 'C' | 'D' | 'E'
      - `impactAreaId` string
      - `impactAreaExtractedName` string
      - `assignee` object
        - `id` string, required
        - `companyId` string, required
      - `assigneeExtractedName` string
      - `collaborator` object
        - `companyId` string, required
      - `collaboratorExtractedName` string
      - `reporters` object[]
        - `userId` string, required
        - `companyId` string, required
  - `workflowId` string
  - `reviewStage` 'CAP' | 'FINDINGS'

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object, required
    - `success` boolean, required
    - `message` string, required
    - `createdFindings` number, required
    - `createdActions` number, required
    - `actionIds` string[], required

---

[API](https://skmtc.net/retraced/apis/api-reference.md) · [All operations](https://skmtc.net/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/60d6c901bc4e/schema)
