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

# Create a webhook listener

`POST /webhooks`

Creates a webhook listener for the shop.

## Request body

- object
  - `url` string — The URL where the webhook payload will be sent
  - `enabled` boolean — Whether the webhook is enabled or not
  - `actions` string[]

## Response `200`

Webhook listener created

- object
  - `webhookId` string — The ID of the webhook listener

## Other responses

- `400` — Validation error

---

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