---
title: "Update an incoming webhook"
method: PUT
path: "/api/v4/hooks/incoming/{hook_id}"
tags: ["webhooks"]
---

# Update an incoming webhook

`PUT /api/v4/hooks/incoming/{hook_id}`

Update an incoming webhook given the hook id.
##### Permissions
`manage_webhooks` for system or `manage_webhooks` for the specific team or `manage_webhooks` for the channel.

## Path parameters

- `hook_id` string, required

## Request body

- object
  - `id` string, required — Incoming webhook GUID
  - `channel_id` string, required — The ID of a public channel or private group that receives the webhook payloads.
  - `display_name` string, required — The display name for this incoming webhook
  - `description` string, required — The description for this incoming webhook
  - `username` string — The username this incoming webhook will post as.
  - `icon_url` string — The profile picture this incoming webhook will use when posting.

## Response `200`

Webhook update successful

- 38cb7293IncomingWebhook
  - `id` string — The unique identifier for this incoming webhook
  - `create_at` integer — The time in milliseconds a incoming webhook was created
  - `update_at` integer — The time in milliseconds a incoming webhook was last updated
  - `delete_at` integer — The time in milliseconds a incoming webhook was deleted
  - `channel_id` string — The ID of a public channel or private group that receives the webhook payloads
  - `description` string — The description for this incoming webhook
  - `display_name` string — The display name for this incoming webhook

## Other responses

- `400` — Invalid or missing parameters in URL or request body
- `401` — No access token provided
- `403` — Do not have appropriate permissions
- `404` — Resource not found

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
