---
title: "Set Webhook"
method: PUT
path: "/api/domains/webhook"
tags: ["services"]
---

# Set Webhook

`PUT /api/domains/webhook`

## Request

- Base URL: `https://api.monacloud.vn`
- URL: `https://api.monacloud.vn/api/domains/webhook`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Token`

Cập nhật dữ liệu tại `/api/domains/webhook`. Phản hồi dùng JSON và tuân theo schema được công bố bên dưới.

## Request body

- DomainWebhookRequest
  - `url` string, required
  - `secret` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/monacloud/apis/mona-cloud-api-compute-truoc-ay-vibecloud.md) · [All operations](https://skmtc.dev/monacloud/apis/mona-cloud-api-compute-truoc-ay-vibecloud/llms.txt) · [OpenAPI document](https://skmtc.dev/monacloud/apis/mona-cloud-api-compute-truoc-ay-vibecloud/revisions/34a120ed37ce?raw)
