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

# Create webhook

`POST /webhooks`

Subscribe to a webhook

## Request body

- WebhookIn
  - `url` string, required
  - `events` string[], required

## Response `201`

Document created, URL follows

- Webhook
  - `id` string, uuid, required
  - `url` string, required
  - `events` string[], required

## Other responses

- `400` — Bad request syntax or unsupported method

---

[API](https://skmtc.net/equiwatt/apis/equiwatt-api.md) · [All operations](https://skmtc.net/equiwatt/apis/equiwatt-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/equiwatt/equiwatt-api/versions/332ef685d64d/schema)
