---
title: "Create an incoming webhook"
method: POST
path: "/api/v4/hooks/incoming"
tags: ["webhooks"]
---

# Create an incoming webhook

`POST /api/v4/hooks/incoming`

Create an incoming webhook for a channel.
##### Permissions
`manage_webhooks` for the team the webhook is in.

`manage_others_incoming_webhooks` for the team the webhook is in if the user is different than the requester.

## Request body

- object
  - `channel_id` string, required — The ID of a public channel or private group that receives the webhook payloads.
  - `user_id` string — The ID of the owner of the webhook if different than the requester.
  - `display_name` string — The display name for this incoming webhook
  - `description` string — 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 `201`

Incoming webhook creation 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

---

[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)
