# Update Chat Feedback

Update the feedback status (Good/Bad) for a specific chatlog. This helps improve your chatbot by tracking user satisfaction.

## Endpoint

```
POST https://app.wonderchat.io/api/v1/update-chat-feedback
```

## Request Parameters

| Parameter   | Type   | Required | Description                                  |
| ----------- | ------ | -------- | -------------------------------------------- |
| `apiKey`    | string | ✅ Yes    | Your API key                                 |
| `chatlogId` | string | ✅ Yes    | The ID of the chatlog to update feedback for |
| `feedback`  | string | ✅ Yes    | Feedback value: `"GOOD"` or `"BAD"`          |

## Example Request

```bash
curl --location --request POST 'https://app.wonderchat.io/api/v1/update-chat-feedback' \
--header 'Content-Type: application/json' \
--data-raw '{
  "apiKey": "YOUR_API_KEY",
  "chatlogId": "YOUR_CHATLOG_ID",
  "feedback": "GOOD"
}'
```

## Feedback Values

| Value  | Description                                      |
| ------ | ------------------------------------------------ |
| `GOOD` | Positive feedback - the response was helpful     |
| `BAD`  | Negative feedback - the response was not helpful |

## Use Cases

* **Quality Monitoring**: Track chatbot performance over time
* **Training Data**: Use feedback to improve chatbot responses
* **Analytics**: Generate reports on user satisfaction
* **A/B Testing**: Compare different chatbot configurations
