---
title: "Add webhook"
method: POST
path: "/webhooks"
---

# Add webhook

`POST /webhooks`

Add webhook

## Request body

- object
  - `target_url` string, required — The target url of the webhook
  - `event_type` 'issue.open.created' | 'issue.snoozed' | 'issue.ignored.manual' | 'ci.gate.failed' | 'issue.closed' | 'ci.gate.passed' | 'issue.sla.breached' | 'zen.attack' | 'zen.attack_wave' | 'zen.outbound.discovered' | 'scan.image.finished' | 'issue.unignored' | 'issue.severity.changed.manual' | 'configuration_issue.detected', required — The event type of the webhook

## Response `200`

The webhook has been added

- object
  - `webhook_id` integer — The id of the webhook

---

[API](https://skmtc.net/aikido/apis/authorization.md) · [All operations](https://skmtc.net/aikido/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aikido/authorization/revisions/5445e7c21137/schema)
