---
title: "Regenerate Script Hooks"
method: POST
path: "/v1/scripts/hooks"
---

# Regenerate Script Hooks

`POST /v1/scripts/hooks`

## Request

- Base URL: `https://api.scriptseen.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.scriptseen.com/v1/scripts/hooks`
- Auth: none declared

Vary one opening choice, preserving the other choices and script body.

## Request body

- HookRegenerationBody: The finished result a client wants a new opening for. The API returns a complete updated result so recent and saved scripts use exactly the same package after the refresh.
  - `result` object, required
  - `source_id` string, nullable
  - `hook_number` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/scriptseen/apis/scriptseen-api.md) · [All operations](https://skmtc.dev/scriptseen/apis/scriptseen-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scriptseen/apis/scriptseen-api/revisions/234ca7365a93?raw)
