Server-to-server webhook endpoint used by the billing service to query current licence usage for a tenant. The caller supplies tenant_id and an x-webhook-signature header containing HMAC-SHA256("GET:<tenant_id>", ALGA_WEBHOOK_SECRET). The response reports the configured licensed internal-user limit, active internal-user count, calculated remaining seats, and last licence update timestamp.
Query parameters
tenant_idstringRequired
Tenant identifier to query. This must match a tenants.tenant record.
Header parameters
x-webhook-signaturestringRequired
HMAC-SHA256 hex digest proving the caller knows ALGA_WEBHOOK_SECRET.