---
updatedAt: 2026-03-30T13:31:38.000Z
agentTools:
  siteIndex: https://documentation.bloomreach.com/llms.txt
  projectIndex: https://documentation.bloomreach.com/engagement/llms.txt
---

# Contextual Personalization Reward

https://api.exponea.com/webxp/bandits/reward

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "customer-api",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://api.exponea.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/webxp/bandits/reward": {
      "post": {
        "summary": "Contextual Personalization Reward",
        "description": "https://api.exponea.com/webxp/bandits/reward",
        "operationId": "contextual-personalization-1",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "reward_token"
                ],
                "properties": {
                  "reward_token": {
                    "type": "string",
                    "description": "Reward token received with the best variant call",
                    "default": "<reward-token>"
                  },
                  "value": {
                    "type": "string",
                    "description": "Non-negative reward",
                    "default": "1"
                  }
                }
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "reward_token": "Chg2Mjk5YzkwNDM4MTlkOWE1OTc0Nzk0YmQSDGJkZTZpODIwMDhvYhokMjI5YWRlZGUtZDEwMi0xMWVjLTlkNWYtODJlZWIzMTBjNDM3",
                    "value": 1
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Content-type",
        "value": "application/json"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```