---
title: "Adicionando um webhook"
method: POST
path: "/api/v4/webhooks"
---

# Adicionando um webhook

`POST /api/v4/webhooks`

## Request

- Base URL: `https://subdomain.kommo.com`
- URL: `https://subdomain.kommo.com/api/v4/webhooks`
- Auth: OAuth 2

O método permite criar um webhook para enviar notificações de eventos para a URL especificada.

## Request body

- object
  - `RAW_BODY` object
    - `destination` string: URL válida onde você deseja receber uma notificação
    - `settings` string[]: Eventos que acionam o webhook. Passados como um array de eventos.

## Response `200`

200

## Other responses

- `400`: 400
- `401`: 401
- `422`: 422

---

[API](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo.md) - [All operations](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo/llms.txt) - [OpenAPI document](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo/revisions/55101699dddb?raw)
