---
title: "Create Incoming Webhook"
method: POST
path: "/company/v1/incoming_webhooks"
tags: ["incoming webhooks (usersService)"]
---

# Create Incoming Webhook

`POST /company/v1/incoming_webhooks`

Creates a new incoming webhook. Available only for admin users.

## Request body

- IncomingWebhookDto
  - `name` string
  - `active` boolean
  - `permissions` object[] — List of permissions associated with the webhook.
    - `service` 'crm' | 'activities' | 'tasks' | 'comments' | 'company' | 'newsfeed' | 'messenger' | 'groups' | 'files' | 'email', required — The service that the webhook has permission for.

## Response `201`

OK

- IncomingWebhook
  - `id` integer
  - `name` string
  - `active` boolean
  - `user_id` integer
  - `created_at` integer
  - `updated_at` integer
  - `permissions` object[] — List of permissions associated with the webhook.
    - `service` 'crm' | 'activities' | 'tasks' | 'comments' | 'company' | 'newsfeed' | 'messenger' | 'groups' | 'files' | 'email', required — The service that the webhook has permission for.
  - `webhook_url` string, uri

## Other responses

- `401` — Access token is missing or invalid
- `403` — Forbidden
- `422` — Validation error response

---

[API](https://skmtc.net/uspacy/apis/uspacy-api.md) · [All operations](https://skmtc.net/uspacy/apis/uspacy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uspacy/uspacy-api/versions/c3f48fd1c26b/schema)
