Inicio - Documentación - POM AI - 25 Developers - POM AI license registry contract

POM AI license registry contract

POM AI uses the shared POM Framework product-license registry. The canonical product slug is pom-ai; there is no separate POM AI public/private key pair and no product-specific license option.

Supported helpers

$license_key = pom_ai_get_license_key();
$connected   = pom_ai_has_license();

pom_ai_get_license_key() returns the license key for the current POM AI management scope or an empty string when the site is not connected. pom_ai_has_license() is a convenience boolean based on that result.

Use these helpers at the moment a request is prepared. Do not cache the key in another option, post meta, JavaScript variable, log, or public response. Saving and validating licenses belongs to the shared POM Framework license field under Settings → POM AI → License.

Runtime behavior

POM AI service requests are signed at the WordPress HTTP boundary with the exact outgoing body. Integrations should use the existing POM AI request flow rather than constructing alternate authentication headers or restoring the retired key-pair protocol.

A locally stored key is not enough on its own: the account service validates the product, license state, account, and requesting domain. Keep domain errors distinct from missing-key errors.

Related guides: multisite license scope, license and domains, and security.