---
title: "Save webhook info"
method: PUT
path: "/api/webhooks/{id}/"
tags: ["Webhooks"]
---

# Save webhook info

`PUT /api/webhooks/{id}/`

## Path parameters

- `id` integer, required

## Request body

- WebhookSerializerForUpdateRequest — Serializer class for updating webhooks Used to forbid updating project field.
  - `actions` ActionsEnum[]
  - `headers` unknown
  - `is_active` boolean — If value is False the webhook is disabled
  - `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 `200`

- WebhookSerializerForUpdate — Serializer class for updating webhooks Used to forbid updating project field.
  - `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, required
  - `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)
