---
title: "Receive Webhook"
method: POST
path: "/router/v1/chargebee/webhook"
tags: ["chargebee"]
---

# Receive Webhook

`POST /router/v1/chargebee/webhook`

Forward the webhook to the correct cluster

1. Get the customer id from the payload, if it is not found then raise an error
2. Customer id is in the format {cluster_id}_{workspace_id}, extract the cluster_id and forward to that cluster

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/spotdraft/apis/oogway-be-router.md) · [All operations](https://skmtc.net/spotdraft/apis/oogway-be-router/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotdraft/oogway-be-router/revisions/d6bb25222daa/schema)
