Requirements
Custom response is a paid plan feature. Enable it for your product in the KeyPort dashboard.The custom field
When custom response is enabled and configured, the validate endpoint returns a custom field containing your JSON payload:
A merged JSON object containing product-level metadata and any license-level overrides. Returns
null if the feature is disabled or the merged object is empty.How the payload is built
KeyPort merges two sources to produce thecustom value:
- Product template — the default metadata defined on your product
- License override — optional metadata set on the individual license
When custom is null
The custom field returns null in two cases:
- The custom response feature is disabled for your product
- The merged object is empty after combining the product template and license override
null before accessing fields on custom in your application code.