---
title: "Create a webhook"
method: POST
path: "/api/webhooks/"
tags: ["Webhooks"]
---

# Create a webhook

`POST /api/webhooks/`

Create a webhook for your organization.

## Request body

- WebhookRequest
  - `actions` ActionsEnum[]
  - `headers` unknown
  - `is_active` boolean — If value is False the webhook is disabled
  - `project` integer, nullable
  - `send_for_all_actions` boolean — If value is False - used only for actions from WebhookAction
  - `send_payload` boolean — If value is False send only action
  - `url` string, uri, required — URL of webhook

## Response `201`

- Webhook
  - `actions` ActionsEnum[]
  - `consecutive_failures` integer, required
  - `created_at` string, date-time, required — Creation time
  - `headers` unknown
  - `id` integer, required
  - `is_active` boolean — If value is False the webhook is disabled
  - `organization` integer, required
  - `project` integer, nullable
  - `send_for_all_actions` boolean — If value is False - used only for actions from WebhookAction
  - `send_payload` boolean — If value is False send only action
  - `updated_at` string, date-time, required — Last update time
  - `url` string, uri, required — URL of webhook

---

[API](https://skmtc.net/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.net/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/revisions/1d13f90af57a/schema)
