← All posts
1 min read

REST API & Action Hooks

WPB

September 26, 2026

REST API & Action Hooks Reference

License Boss provides a complete RESTful interface and WordPress action/filter hooks for third-party integrations (Stripe, WooCommerce, FluentCRM, n8n, Zapier).


REST Endpoints

All endpoints are rooted under namespace /wp-json/license-boss/v1/.

Method Endpoint Description Auth Required
POST /activate Register an active domain activation Public / License Key
POST /deactivate Release an activation slot Public / License Key
POST /check Periodic license status verification Public / Domain token
GET /update-check Query newest available plugin release Public / Domain token
POST /admin/licenses Provision new license key X-LB-Admin-Key

Action Hooks

license_boss_activated

Fires immediately when a license key is successfully activated on a client site.

php
add_action('license_boss_activated', function($license_id, $domain, $product_slug) {
    error_log("License {$license_id} activated on domain: {$domain}");
}, 10, 3);

license_boss_deactivated

Fires when an activation is released by a customer.

php
add_action('license_boss_deactivated', function($license_id, $domain) {
    // Notify CRM or audit log
}, 10, 2);

Filters

license_boss_max_activations

Customize the maximum activation limit dynamically based on customer tier or custom attributes.

php
add_filter('license_boss_max_activations', function($limit, $license_data) {
    if ($license_data->tier === 'enterprise') {
        return 999;
    }
    return $limit;
}, 10, 2);

Or don't do it yourself

Hand the whole thing
to us.

Graphics, social, websites. We are the startup team for small brands that do not have one. You keep the focus. We run the output.

Book a Call →

← Previous

Installation & Client Integration

Next →

Troubleshooting & FAQ