---
title: "Save Hooks"
method: PUT
path: "/api/hooks/{scope}"
tags: ["runtime_mutations", "hooks"]
---

# Save Hooks

`PUT /api/hooks/{scope}`

## Request

- Base URL: `https://api.quadrillion.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.quadrillion.io/api/hooks/{scope}`
- Auth: none declared

## Path parameters

- `scope` 'user' | 'workspace', required

## Request body

- SaveHooksRequest
  - `content` string, required
  - `revision` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-02** `35b10cfbb267`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/hooks/:scope/put.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) - [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/2e1425e0e054?raw)
