---
title: "Receive Subscription Event"
method: POST
path: "/notifications/subscriptions"
tags: ["notifications"]
---

# Receive Subscription Event

`POST /notifications/subscriptions`

## Request

- The document declares no server URL.
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/notifications/subscriptions/post.ts> (a function with typed inputs; its response is checked against the schema)

Приём уведомления о событии подписки (webhook).

## Request body

- SubscriptionEventCreate
  - `event_type` 'activation' | 'purchase' | 'renewal' | 'balance_topup' | 'promocode_activation' | 'referral_link_visit' | 'promo_group_change', required
  - `user_id` integer, required
  - `subscription_id` integer, nullable
  - `transaction_id` integer, nullable
  - `amount_kopeks` integer, nullable
  - `currency` string, nullable
  - `message` string, nullable
  - `occurred_at` string, date-time, nullable
  - `extra` object

## Response `201`

Successful Response

- SubscriptionEventResponse
  - `id` integer, required
  - `event_type` string, required
  - `user_id` integer, required
  - `user_full_name` string, required
  - `user_username` string, nullable
  - `user_telegram_id` integer, nullable
  - `subscription_id` integer, nullable
  - `transaction_id` integer, nullable
  - `amount_kopeks` integer, nullable
  - `currency` string, nullable
  - `message` string, nullable
  - `occurred_at` string, date-time, required
  - `created_at` string, date-time, required
  - `extra` object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-03** `2360876ff9c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/changes/notifications/subscriptions/post.md)

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
