API Overview #
DMSI DDLS provides a REST API for integrating license management with your client software.
Base URL #
https://your-site.com/wp-json/dmsilm/v1
Format #
All requests and responses use JSON format.
Main Endpoints #
| Category | Purpose |
|---|---|
| License Endpoints | Create, read, update, delete licenses (authenticated) |
| Validate | Check if a license key is valid (public) |
| Activate / Deactivate | Register or remove a site activation (public) |
| Activations | Check-in and verify existing activations (public) |
| Support Contracts | Manage support contracts (authenticated) |
Public vs. Authenticated #
| Type | Requires Auth | Example Endpoints |
|---|---|---|
| Public | No (license key required) | validate, activate, deactivate, check-in, verify |
| Authenticated | Yes (API Key header) | List licenses, create license, admin CRUD |
What’s New in v2.0.0 #
- Product ID validation on all public routes — all public endpoints now require and validate
product_id. A license key for Product A cannot be used on an endpoint call for Product B. - Email capture on activation — activate endpoints accept optional
customer_email. Response includesemail_noticewhen an email is stored.
What Was New in v1.2.0 #
- Key-based activate/deactivate —
POST /licenses/activateandPOST /licenses/deactivateaccept alicense_keydirectly. No internal license ID lookup required. - Variation metadata in responses — activation and validation responses include
license_type,activation_limit, andlicense_durationresolved from effective settings.
