---
title: "Create a webhook endpoint"
method: POST
path: "/api/v{version}/webhooks/endpoints"
tags: ["webhooks"]
---

# Create a webhook endpoint

`POST /api/v{version}/webhooks/endpoints`

Creates a new webhook endpoint for the supplier to receive webhook events

## Path parameters

- `version` string, required

## Headers

- `X-Tenant` string, required

## Request body

- CreateEndpointRequest
  - `url` string, nullable
  - `description` string, nullable
  - `eventTypes` string[], nullable
  - `headers` object, nullable

## Response `201`

Created

- CreateEndpointResponse
  - `id` string, nullable
  - `url` string, nullable
  - `description` string, nullable
  - `eventTypes` string[], nullable
  - `createdAt` string, date-time

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

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