---
title: "Update Hooks"
method: PATCH
path: "/api/v1/accounts/{account_id}/integrations/hooks/{id}"
tags: ["Hooks"]
---

# Update Hooks

`PATCH /api/v1/accounts/{account_id}/integrations/hooks/{id}`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/accounts/{account_id}/integrations/hooks/{id}`
- Auth: API key in header `api_access_token`

## Path parameters

- `account_id` integer, required
- `id` integer, required

## Request body

- object
  - `app_id` string
  - `inbox_id` string
  - `status` string
  - `settings` object

## Response `200`

Success

- object
  - `id` string
  - `app_id` string
  - `status` string
  - `inbox` string
  - `account_id` string
  - `hook_type` string
  - `settings` string
  - `reference_id` string

## Other responses

- `401`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/cloudhumans/apis/cloudchat-api.md) - [All operations](https://skmtc.dev/cloudhumans/apis/cloudchat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudhumans/apis/cloudchat-api/revisions/18199bd17cc5?raw)
