---
title: "Approve a staged import run and re-queue it (admin)"
method: PATCH
path: "/v1/admin/import_runs/{id}/approve"
tags: ["Import Runs"]
---

# Approve a staged import run and re-queue it (admin)

`PATCH /v1/admin/import_runs/{id}/approve`

## Request

- Base URL: `https://api.hify.club`
- URL: `https://api.hify.club/v1/admin/import_runs/{id}/approve`
- Auth: API key in header `X-User-Token`

Kind-agnostic: stores whatever mappings ops attached, merged into those already stored, and re-enqueues the run. Re-approving after fixing something upstream needs no body at all.

## Request body

- object
  - `approval_mappings` object
    - `tournament_id` string, uuid

## Response `200`

Run approved and re-queued

- object
  - `id` string, uuid
  - `status` string

## Other responses

- `409`: The run is in_progress or completed and cannot be approved — a double-approve must not start two concurrent imports.

---

[API](https://skmtc.dev/hify/apis/hify-apis.md) - [All operations](https://skmtc.dev/hify/apis/hify-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/hify/apis/hify-apis/revisions/b5920403538d?raw)
