---
title: "Add Hook"
method: POST
path: "/api/hook"
---

# Add Hook

`POST /api/hook`

## Request body

- HookRequest
  - `job_id` string, required
  - `clip_index` integer, required
  - `text` string, nullable
  - `input_filename` string, nullable
  - `position` string, nullable
  - `size` string, nullable
  - `duration_seconds` number, nullable
  - `style` string, nullable
  - `remove` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/openshorts/apis/fastapi.md) · [All operations](https://skmtc.dev/openshorts/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openshorts/fastapi/revisions/8085a0ce516b/schema)
