Skip to main content

Overview

VoiceTypr uses a license and trial system to manage access to the application. These commands handle license validation, activation, and trial status checking. The license system supports:
  • Trial mode: Limited-time free trial with offline grace period
  • Licensed mode: Activated with a valid license key
  • Offline grace periods: 90 days for licensed users, 1 day for trial users
  • Secure storage: License keys stored in system keychain (macOS Keychain, Windows Credential Manager)

License Status

check_license_status

Check the current license or trial status.
Returns: LicenseStatus
string
required
Current license state: licensed, trial, expired, or none
number
Days remaining in trial period (only present for trial status)
string
Type of license (e.g., “individual”, “team”)
string
The license key (only present for licensed status)
string
ISO 8601 expiration date (if license has expiration)
Caching: Status is cached for 8 hours to reduce API calls. Cache is validated against offline grace periods. Example:

License Activation

activate_license

Activate VoiceTypr with a license key.
string
required
The license key to activate
Returns: LicenseStatus - Updated license status after activation Errors:
  • "Invalid license key format" - Key format is invalid
  • "License key already in use" - Key is activated on another device
  • "Invalid license key" - Key is not valid or has been revoked
  • "Network error" - Cannot reach license server
Example:

deactivate_license

Deactivate the current license on this device.
Returns: void Note: This frees up the license activation slot, allowing the key to be used on another device. Example:

restore_license

Restore a previously activated license from system keychain.
Returns: LicenseStatus - Restored license status Use case: Restore license after reinstalling VoiceTypr or if license cache was cleared. Example:

Cache Management

invalidate_license_cache

Clear the cached license status to force a fresh check.
Returns: void Use case: Force revalidation after purchasing a license or if status appears incorrect. Example:

Purchase

open_purchase_page

Open the VoiceTypr purchase page in the default browser.
Returns: void Example:

Offline Grace Periods

VoiceTypr includes offline grace periods to allow continued use when internet is unavailable:
  • Licensed users: 90 days offline grace period
  • Trial users: 1 day offline grace period
During the grace period, the last known valid status is used. Once the grace period expires, VoiceTypr requires internet connection to revalidate.

Trial System

The trial system provides:
  • Free trial period (typically 7-14 days)
  • Limited offline validation (1 day grace period)
  • Automatic expiration tracking
  • Seamless upgrade to licensed mode
Trial expiration:

Security

License keys are stored securely using platform-native keychains:
  • macOS: Keychain Access
  • Windows: Credential Manager
Keys are never stored in plain text or in application settings.

See Also