---
title: "POST /connection/webhook"
method: POST
path: "/connection/webhook"
tags: ["Connection"]
---

# POST /connection/webhook

`POST /connection/webhook`

Create a webhook endpoint that listens to a connection events of a specific tenant.

## Headers

- `x-revert-t-id` string, required

## Request body

- CreateConnectionWebhookRequest
  - `webhookUrl` string, required

## Response `200`

- CreateConnectionWebhookResponse
  - `status` 'ok' | 'error', required
  - `webhookUrl` string, required
  - `createdAt` string, required
  - `secret` string, required
  - `error` string, nullable
  - `errorMessage` unknown

## Other responses

- `401`
- `404`
- `500`

---

[API](https://skmtc.net/revertinc/apis/revert-api.md) · [All operations](https://skmtc.net/revertinc/apis/revert-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/revertinc/revert-api/versions/698ea54a2330/schema)
