---
title: "Receive a signed custom-app webhook event (single event or batch)"
method: POST
path: "/webhooks/custom/{connectionId}"
---

# Receive a signed custom-app webhook event (single event or batch)

`POST /webhooks/custom/{connectionId}`

## Request

- Base URL: `https://sendinel.ai/api/v1`
- URL: `https://sendinel.ai/api/v1/webhooks/custom/{connectionId}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://sendinel.ai/oauth/authorize`, token URL `https://sendinel.ai/oauth/token`)

## Path parameters

- `connectionId` string, uuid, required

## Headers

- `X-Sendinel-Signature` string, required

## Request body

- union
  - object
    - `email` string, required
    - `event` string, required
    - `data` object
    - `event_id` string
  - object
    - `events` object[], required
      - `email` string, required
      - `event` string, required
      - `data` object
      - `event_id` string

## Response `200`

Custom webhook event(s) processed

## Other responses

- `400`: Missing or invalid signature
- `404`: Connection not found

---

[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)
