---
title: "Create webhook endpoint"
method: POST
path: "/v2/webhook-endpoints"
tags: ["Webhook Endpoints"]
---

# Create webhook endpoint

`POST /v2/webhook-endpoints`

Pre-register a URL to receive webhooks.
Registered endpoints can be referenced by webhookEndpointId during webhook registration.
Free API - does not count towards usage quota.

## Request body

- CreateWebhookEndpointRequest
  - `name` string, required
  - `url` string, required
  - `secret` string
  - `description` string

## Response `201`

Endpoint created successfully

- CreateWebhookEndpointResponse
  - `success` boolean, required
  - `data` object
    - `endpointId` string, required
    - `name` string, required
    - `url` string, required
    - `secret` string, required
    - `description` string
    - `isActive` boolean, required
    - `createdAt` string, required
  - `error` object
    - `code` string, required
    - `message` string, required

## Other responses

- `400` — Bad request (invalid URL format, etc.)
- `401` — Authentication failed

---

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