1. Events
Cold Mail Reseller
  • Cold Mail Reseller API Documentation
  • Users
    • Retrieve all users
      GET
    • Get User Details
      GET
    • Create User
      POST
    • Update User Details
      PUT
    • Delete User
      DELETE
  • Geo
    • Get Countries List
      GET
    • Get States of a Country
      GET
  • Domains
    • Renewal
      • Domain Renewal Overview
      • Get domain renewal pricing
      • Renew domain
      • Enable or disable domain auto-renew
    • Get Domains For User
      GET
    • Suggest Available Domains
      POST
    • Get Single Available Domain
      POST
    • Check If Google Workspace Exists
      POST
    • Add domain forwarding
      POST
    • Add email forwarding
      POST
    • Add Google Client ID to Domain
      POST
    • Remove domains
      DELETE
  • Dns
    • Get dns records for a domain
      GET
    • Adds dns record
      POST
    • Update dns records
      PUT
    • Delete dns records
      DELETE
  • Orders
    • Get Order Details
    • Get Order Status
    • Creates order json
    • Order mailboxes (json)
    • Process the Order
    • Create Order
    • Add mailboxes to a subscription
  • Mailboxes
    • Get mailboxes for user
    • Get mailbox details by id
    • Get Mailbox Admin Details
    • Update mailbox details
    • Remove mailbox
  • Subscriptions
    • Get All Subscriptions
    • Renew Subscriptions
    • Toggle Auto renewal
    • Cancel Subscription
  • Webhooks
    • Overview
    • Events
      • Domain Events
      • Subscription Events
      • Mailbox Events
      • Prewarmup Events
  • Export
    • Re-export a mailbox (Oauth)
  • Pre-warmup
    • Get all pre warmed up mailboxes
    • Order pre-warmedup mailboxes
  • Get Wallet Details
    GET
  • Send error
    POST
  1. Events

Subscription Events

Subscription events are triggered when mailbox subscriptions are renewed or cancelled. A subscription is the ongoing service that keeps mailbox accounts active after they're created.

Overview#

Subscriptions are separate from domain registrations. Here's the relationship:
Domain → Registered once, renewed periodically (yearly)
Subscription → Billing period for mailboxes (monthly, yearly, etc.), can be renewed or cancelled independently
A mailbox subscription depends on the domain being active. If the domain expires or enters a grace period, the subscription renewal will fail.

subscription.renewal.success#

This event is triggered when a mailbox subscription is successfully renewed for the next billing period.

When it occurs#

A subscription renewal period arrives (e.g., yearly renewal date)
The linked domain is active and not expired
Billing is processed successfully
Subscription is extended for another period

Example Payload#

{
  "event": "subscription.renewal.success",
  "eventId": "6SSHBXWQ3N3JEKHRQ763KW3D76N6",
  "data": {
    "userId": "PWM7Y25RYZ450YNM8K8FX9GK5AHX",
    "userEmail": "johndoe@company.com",
    "subscriptionId": "YC2H6C87PPKPG5WXVNQ682GAVFTM",
    "workspaceType": "GOOGLE",
    "quantity": 3
  }
}

Payload Schema#

FieldTypeDescription
eventstringAlways "subscription.renewal.success"
eventIdstringUnique identifier for this event
data.userIdstringUser who owns the subscription
data.userEmailstringUser's email address
data.subscriptionIdstringSubscription being renewed
data.workspaceTypestring"GOOGLE" or "MICROSOFT"
data.quantitynumberNumber of mailboxes in this subscription

subscription.renewal.failed#

This event is triggered when a subscription renewal fails. This is different from domain renewal failure — it specifically means the mailbox subscription couldn't be renewed.

When it occurs#

Subscription renewal date arrives
Linked domain is in GRACE_PERIOD (expired but recoverable)
Linked domain is EXPIRED (past grace period, deleted at registrar)
Mailbox accounts can't be renewed without an active domain
No billing is attempted until domain is fixed

Example Payload#

{
  "event": "subscription.renewal.failed",
  "eventId": "6SSHBXWQ3N3JEKHRQ763KW3D76N6",
  "data": {
    "userId": "PWM7Y25RYZ450YNM8K8FX9GK5AHX",
    "userEmail": "johndoe@company.com",
    "subscriptionId": "YC2H6C87PPKPG5WXVNQ682GAVFTM",
    "domainId": "AH2BD0WYWSMQC9NQHTMES3TFK4TX",
    "domainName": "company.com",
    "domainStatus": "GRACE_PERIOD",
    "reason": "Domain is in GRACE_PERIOD; subscription renewal was not attempted. Please renew the domain at registrar."
  }
}

Payload Schema#

FieldTypeDescription
eventstringAlways "subscription.renewal.failed"
eventIdstringUnique identifier for this event
data.userIdstringUser who owns the subscription
data.userEmailstringUser's email address
data.subscriptionIdstringSubscription that failed to renew
data.domainIdstringDomain linked to this subscription
data.domainNamestringDomain name
data.domainStatusstring"GRACE_PERIOD" or "EXPIRED"
data.reasonstringHuman-readable explanation

subscription.cancelled#

This event is triggered when a mailbox subscription is cancelled because the user disabled auto-renewal and the current billing period has ended.

When it occurs#

Current billing period expires
Subscription is no longer active

Example Payload#

{
  "event": "subscription.cancelled",
  "eventId": "6SSHBXWQ3N3JEKHRQ763KW3D76N6",
  "data": {
    "userId": "PWM7Y25RYZ450YNM8K8FX9GK5AHX",
    "userEmail": "johndoe@company.com",
    "subscriptionId": "YC2H6C87PPKPG5WXVNQ682GAVFTM",
    "workspaceType": "GOOGLE",
    "quantity": 3
  }
}

Payload Schema#

FieldTypeDescription
eventstringAlways "subscription.cancelled"
eventIdstringUnique identifier for this event
data.userIdstringUser who owned the subscription
data.userEmailstringUser's email address
data.subscriptionIdstringSubscription that was cancelled
data.workspaceTypestring"GOOGLE" or "MICROSOFT"
data.quantitynumberNumber of mailboxes that were active

Understanding the Subscription Flow#

Successful renewal cycle#

Subscription active
    ↓
Renewal date arrives
    ↓
subscription.renewal.success
    ↓
Next billing period starts
    ↓
(Cycle repeats at next renewal date)

Failed renewal (domain issue)#

Subscription active
    ↓
Renewal date arrives
    ↓
Domain check: EXPIRED or GRACE_PERIOD
    ↓
subscription.renewal.failed
    ↓
Mailboxes stay active until period ends
    ↓
User must renew domain before next renewal

Cancellation flow#

Subscription active
    ↓
User disables auto-renewal
    ↓
Current period expires
    ↓
subscription.cancelled
    ↓
Mailboxes deactivated

Notes#

Subscription and domain are independent — You can have a domain without subscription.
Auto-renewal can be toggled — Users can enable/disable via dashboard

See also#

Domain Events — Domain registration and renewal
Mailbox Events — Individual mailbox creation
Modified at 2026-04-03 08:38:38
Previous
Domain Events
Next
Mailbox Events
Built with