Skip to content

Management via Headers

HTTP headers allow the provider to transmit important subscription information directly into the Mole interface.

User Statistics

The standard subscription-userinfo header is used:

subscription-userinfo: upload=1073741824; download=5368709120; total=107374182400; expire=1722612000

  • upload / download: Used traffic in bytes.
  • total: Total limit in bytes.
  • expire: Unix timestamp of subscription expiration.

Branding and Notifications

Special headers for Mole customization:

Header Action
profile-title Subscription name in the app
profile-announce Notification text shown to the user upon update
profile-web-page-url Link to the user's personal cabinet

Hiding the URL

hide-url: true — if this header is present, Mole will hide the subscription address in settings to prevent accidental copying or link leakage.