---
title: "Update Webhook"
method: PATCH
path: "/webhooks/{id}/"
tags: ["webhooks"]
---

# Update Webhook

`PATCH /webhooks/{id}/`

Modify specific registered webhooks action, model or url

## Path parameters

- `id` integer, required

## Request body

- WebhookUpdate — Schema field allow to edit
  - `target_url` string, uri
  - `model` 'candidate' | 'contact' | 'match' | 'job' — An enumeration.
  - `action` 'create' | 'update' | 'moved' | 'status_update' — An enumeration. When model is match, allowed values are create and moved. When model is candidate or contact, allowed values are create and update. When model is job, allowed value is status_update.

## Response `200`

Successful Response

- Webhook — Datbase model
  - `target_url` string, uri
  - `id` integer
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `object_id` integer
  - `content_type` string
  - `event_id` integer

## Other responses

- `404` — Not Found
- `409` — A webhook with the same event and target URL already exists
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/manatal/apis/manatal-career-page-api.md) · [All operations](https://skmtc.net/manatal/apis/manatal-career-page-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/manatal/manatal-career-page-api/revisions/59053f2da83c/schema)
