v1
latestOpenAPI 3.0.02026-08-0610682246.0 KBBrowser Feature Transformations
Execute Browser feature decisions
Zephr HTML Features can be run in the browser by calling this API directly or using the Zephr Browser SDK. For compatibility with CDN, any web headers (Referrer, User-Agent) will be accepted and passed onto the rule engine. Note: This endpoint may return different response structures depending on your tenant configuration. The example shown here reflects one supported response format. If your tenant returns a different structure and you need this format, contact Zuora Support for guidance.
post/zephr/feature-decisions
Headers
Cookiestring
The session cookie.
Request body
Example request
{
"featureIds": [
"featureX"
],
"session": "xxx-xxx-xxx",
"referer": "https://www.zephr.com/",
"path": "/x.html",
"content_metadata": {
"content_id": "xxx-xxx-xxx"
},
"giftToken": "xxx-xxx-xxx",
"jwt": "xxx-xxx-xxx",
"customData": {
"key": "value"
}
}Response
OK
Example response
{
"featureResults": {
"featureX": "blaize.transform.resource('...')"
}
}