---
title: "Create an outgoing webhook (returns the signing secret once)"
method: POST
path: "/api/rest/v1/outgoing-webhooks"
tags: ["Outgoing Webhooks"]
---

# Create an outgoing webhook (returns the signing secret once)

`POST /api/rest/v1/outgoing-webhooks`

## Request

- Base URL: `https://app.componecat.ai`
- URL: `https://app.componecat.ai/api/rest/v1/outgoing-webhooks`
- Auth: none required

## Request body

- CreateOutgoingWebhookRequest
  - `url` string, required
  - `description` string, nullable, required
  - `eventFilters` string[], nullable, required
  - `detailLevel` string, nullable, required
  - `entityTypeFilters` string[], nullable
  - `customFilters` OutgoingWebhookCustomFilterSelectionResource[], nullable
    - `key` string, required
    - `values` string[], required
  - `customHeaders` OutgoingWebhookCustomHeaderResource[], nullable
    - `name` string, required
    - `value` string, nullable, required

## Response `201`

Created

- CreatedOutgoingWebhookResource
  - `id` string, uuid, required
  - `url` string, required
  - `description` string, nullable, required
  - `status` string, required
  - `secret` string, required
  - `createdAt` string, date-time, required

---

[API](https://skmtc.dev/componecat/apis/componecat-rest-api.md) · [All operations](https://skmtc.dev/componecat/apis/componecat-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/componecat/apis/componecat-rest-api/revisions/6c53d4984720?raw)
