Webhooks
Webhooks for system event notifications.
Setup:
Go to Creator Dashboard → Settings (three-dot menu) → API Keys section
Generate API key if you haven't already
Specify your webhook URL in the webhook settings
Signature verification: Each request contains trbt-signature
header with HMAC-SHA256 signature of request body signed with your API key.
Retry attempts: On delivery failure, system retries after 5min, 15min, 30min, 1h, 10h.
Notification about user purchasing a subscription
new_subscription
Possible values: Event creation time
2025-03-20T01:15:58.33246Z
Event sending time
2025-03-20T01:15:58.542279448Z
Payload
{
"name": "new_subscription",
"created_at": "2025-03-20T01:15:58.33246Z",
"sent_at": "2025-03-20T01:15:58.542279448Z",
"payload": {
"subscription_name": "Support creativity 🌟",
"subscription_id": 1644,
"period_id": 1547,
"period": "monthly",
"price": 1000,
"amount": 700,
"currency": "eur",
"user_id": 31326,
"telegram_user_id": 12321321,
"channel_id": 614,
"channel_name": "lbs",
"expires_at": "2025-04-20T01:15:57.305733Z"
}
}
Notification about user cancelling a subscription
cancelled_subscription
Possible values: Event creation time
2025-03-21T11:20:44.013969Z
Event sending time
2025-03-21T11:20:44.527657077Z
Payload
{
"name": "cancelled_subscription",
"created_at": "2025-03-21T11:20:44.013969Z",
"sent_at": "2025-03-21T11:20:44.527657077Z",
"payload": {
"subscription_name": "Join the private club 🎉",
"subscription_id": 1646,
"period_id": 1549,
"period": "monthly",
"price": 1000,
"amount": 1000,
"currency": "eur",
"user_id": 31326,
"telegram_user_id": 12321321,
"channel_id": 614,
"channel_name": "lbs",
"cancel_reason": "",
"expires_at": "2025-03-20T11:13:44.737Z"
}
}
Notification about new physical order creation
physical_order_created
Possible values: Event creation time
Event sending time
Payload
{
"name": "physical_order_created",
"created_at": "2025-06-24T16:16:02.584Z",
"sent_at": "2025-06-24T16:16:02.584Z",
"payload": {
"order_id": 12345,
"status": "pending",
"user_id": 31326,
"telegram_user_id": 12321321,
"products": [
{
"product_name": "T-shirt with print",
"quantity": 2,
"price": 150000,
"currency": "USD"
}
],
"total": 300000,
"currency": "USD",
"shipping_address": "USA, New York, 5th Avenue, 123, Apt 45",
"tracking_number": "US123456789CN",
"created_at": "2025-03-20T01:15:58.33246Z",
"updated_at": "2025-03-20T01:15:58.33246Z"
}
}
Notification about physical order shipping
physical_order_shipped
Possible values: Event creation time
Event sending time
Payload
{
"name": "physical_order_shipped",
"created_at": "2025-06-24T16:16:02.584Z",
"sent_at": "2025-06-24T16:16:02.584Z",
"payload": {
"order_id": 12345,
"status": "pending",
"user_id": 31326,
"telegram_user_id": 12321321,
"products": [
{
"product_name": "T-shirt with print",
"quantity": 2,
"price": 150000,
"currency": "USD"
}
],
"total": 300000,
"currency": "USD",
"shipping_address": "USA, New York, 5th Avenue, 123, Apt 45",
"tracking_number": "US123456789CN",
"created_at": "2025-03-20T01:15:58.33246Z",
"updated_at": "2025-03-20T01:15:58.33246Z"
}
}
Notification about physical order cancellation
physical_order_canceled
Possible values: Event creation time
Event sending time
Payload
{
"name": "physical_order_canceled",
"created_at": "2025-06-24T16:16:02.584Z",
"sent_at": "2025-06-24T16:16:02.584Z",
"payload": {
"order_id": 12345,
"status": "pending",
"user_id": 31326,
"telegram_user_id": 12321321,
"products": [
{
"product_name": "T-shirt with print",
"quantity": 2,
"price": 150000,
"currency": "USD"
}
],
"total": 300000,
"currency": "USD",
"shipping_address": "USA, New York, 5th Avenue, 123, Apt 45",
"tracking_number": "US123456789CN",
"created_at": "2025-03-20T01:15:58.33246Z",
"updated_at": "2025-03-20T01:15:58.33246Z"
}
}