---
title: "Handle Stripe webhook"
method: POST
path: "/subscription/stripe/webhook"
tags: ["Stripe Webhooks"]
---

# Handle Stripe webhook

`POST /subscription/stripe/webhook`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/subscription/stripe/webhook`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

## Response `201`

Document created, URL follows

- StripeWebhookResponseSchema
  - `status` string, required
  - `message` string, required
  - `data` object, nullable

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/fe078afe239b?raw)
