---
title: "POST /webhookEndpoints"
method: POST
path: "/webhookEndpoints"
tags: ["WebhookEndpoints"]
---

# POST /webhookEndpoints

`POST /webhookEndpoints`

Creates a new webhook endpoint

## Request body

- WebhookEndpointCreateReq
  - `url` string, required
  - `basicAuthUsername` string
  - `basicAuthPassword` string
  - `subscribedEvents` WebhookEventType[], required
  - `customHeaders` object, required

## Response `200`

Webhook endpoint has been created.

- WebhookEndpoint
  - `id` string, required
  - `url` string, required
  - `basicAuthUsername` string, required
  - `basicAuthPassword` string, required
  - `customHeaders` object, required
  - `subscribedEvents` WebhookEventType[], required
  - `created` string, required
  - `createdMs` integer, required
  - `updated` string, required
  - `updatedMs` integer, required

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/corbado/apis/corbado-backend-api.md) · [All operations](https://skmtc.dev/corbado/apis/corbado-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corbado/corbado-backend-api/revisions/1f6143efe426/schema)
