---
title: "Register a new webhook endpoint"
method: POST
path: "/webhooks"
---

# Register a new webhook endpoint

`POST /webhooks`

## Request

- Base URL: `https://developer.usepopup.com/api/v0`
- URL: `https://developer.usepopup.com/api/v0/webhooks`
- Auth: HTTP bearer

## Request body

- object
  - `url` string, uri, required
  - `events` string[], required

## Response `201`

Webhook created

- WebhookCreateResponse
  - `data` object
    - `id` string
    - `url` string, uri
    - `events` string[]
    - `signing_secret` string
    - `active` boolean

---

[API](https://skmtc.dev/usepopup/apis/flowcheck-api.md) · [All operations](https://skmtc.dev/usepopup/apis/flowcheck-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usepopup/apis/flowcheck-api/revisions/fb3e2d989d8e?raw)
