---
title: "Revenuecat Webhook"
method: POST
path: "/webhooks/revenuecat"
tags: ["webhooks"]
---

# Revenuecat Webhook

`POST /webhooks/revenuecat`

## Request

- Base URL: `https://api.projectindi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.projectindi.com/webhooks/revenuecat`
- Auth: none declared

Handle RevenueCat webhook events.

Updates family_units table for subscription status changes.

Events handled:
- INITIAL_PURCHASE: Set status to active
- RENEWAL: Set status to active
- CANCELLATION: Set status to canceled
- EXPIRATION: Set status to expired
- BILLING_ISSUE: Set status to grace_period
- TRANSFER: Clear the entitlement from the families the subscription left

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles.md) - [All operations](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/llms.txt) - [OpenAPI document](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/revisions/25a7813e21fd?raw)
