---
title: "Register an outbound webhook — signing secret returned once"
method: POST
path: "/webhook-subscriptions"
---

# Register an outbound webhook — signing secret returned once

`POST /webhook-subscriptions`

## Request

- Base URL: `https://sendinel.ai/api/v1`
- URL: `https://sendinel.ai/api/v1/webhook-subscriptions`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://sendinel.ai/oauth/authorize`, token URL `https://sendinel.ai/oauth/token`)

## Request body

- object
  - `url` string, uri, required
  - `events` string[], required
  - `site_id` string, uuid
  - `description` string
  - `secret` string: Optional caller-supplied signing secret (16-256 chars)

## Response `201`

Created — includes the signing secret (only time it is returned)

---

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