Skip to content

API Demo Playground

Test License Manager APIs without writing code.

Live Demo: https://license-app-demo.botble.com

What You Can Test

PageAPI TypeOperations
External APIClient-sideActivate, Verify, Deactivate, Check Updates
Internal APIServer-sideList/Create Products, Manage Licenses

Setup

You'll need these from your License Manager admin panel:

CredentialWhere to FindUsed For
API URLYour installation URLBoth APIs
External API KeySettings → API Keys (External type)External API
Internal API KeySettings → API Keys (Internal type)Internal API
Product IDProducts → Reference IDBoth APIs
License CodeLicenses → CodeExternal API

External API Demo

Test the license flow your software will use.

Operations

ButtonWhat It DoesAPI Endpoint
Test ConnectionVerify API is reachableGET /api/external/connection-check
ActivateRegister license for domain/IPPOST /api/external/license/activate
VerifyCheck if activation is validPOST /api/external/license/verify
DeactivateRelease activation slotPOST /api/external/license/deactivate

Updates Manager

ButtonWhat It DoesAPI Endpoint
Get Latest VersionGet newest version infoPOST /api/external/update/latest
Check UpdateCompare with current versionPOST /api/external/update/check
Get SizeGet file size before downloadGET /api/external/update/{v}/download/{type}/size

Typical Flow

  1. Enter API URL, Key, Product ID, License Code
  2. Click Save Configuration
  3. Click Test Connection → should show "OK"
  4. Click Activate → stores encrypted token
  5. Click Verify → confirms activation is valid
  6. Click Deactivate → releases the slot

Internal API Demo

Test admin operations (use Internal API key).

Operations

SectionOperations
ProductsList All, Get by ID
LicensesList All, Get by ID, Create, Block, Unblock

Create License Fields

FieldRequiredDescription
Product IDYesProduct reference ID
License CodeNoAuto-generated if empty
Client NameNoCustomer name
Client EmailNoCustomer email
Parallel UsesNoMax simultaneous activations (default: 1)

Response Panel

The playground shows:

  • Request - Method, URL, headers, body
  • Response - Syntax-highlighted JSON with HTTP status
  • Copy - Copy response to clipboard

Common Errors

ErrorCauseFix
Connection FailedWrong URL or keyCheck API URL has https://, key is correct type
401 UnauthorizedInvalid API keyRegenerate key, check External vs Internal
License not foundWrong code/productVerify code exists and matches product
Already activatedMax uses reachedDeactivate elsewhere or increase parallel uses
422 ValidationMissing fieldsCheck response for specific field errors

Self-Hosting

The demo app is included in License Manager at /demo-app/:

demo-app/
├── index.php      # External API demo
├── internal.php   # Internal API demo
├── api.php        # Shared functions
└── .htaccess      # Security config

Deploy to any PHP-enabled web server. Data is stored in sessions only (no persistence).

See Also