Commet
  • Pricing
Log InTry out
Introduction

Subscription Events

subscription.createdsubscription.activatedsubscription.canceledsubscription.updatedsubscription.plan_changed

Payment Events

payment.receivedpayment.failed

Invoice Events

invoice.created
DocumentationKnowledge BaseBuild with AIAPI ReferenceWebhooks

subscription.created

Fired when a new subscription is created

Payload

All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.

subscriptionIdstring

The subscription ID.

publicIdstring

The public-facing subscription ID.

customerIdstring

The customer ID.

externalIdstring | null

Your external ID for this customer.

planIdstring

The plan ID.

planNamestring

The plan name.

statusstring

The subscription status.

startDatestring | null

ISO 8601 datetime when the subscription starts.

namestring | null

The customer display name.

{
  "event": "subscription.created",
  "timestamp": "2026-03-25T14:30:00.000Z",
  "organizationId": "org_abc123",
  "data": {
    "subscriptionId": "sub_1a2b3c4d",
    "publicId": "sub_pub_5e6f7g",
    "customerId": "cus_8h9i0j",
    "externalId": "user_123",
    "planId": "plan_pro_monthly",
    "planName": "Pro",
    "status": "pending",
    "startDate": "2026-03-25T14:30:00.000Z",
    "name": "Acme Corp"
  }
}

How is this guide?

Introduction

Receive real-time notifications when events happen in your Commet account.

subscription.activated

Fired when a subscription becomes active after payment