---
title: "Submit Message Feedback"
method: POST
path: "/salesforce/chat/{conversation_id}/message/{message_index}/feedback"
tags: ["Salesforce"]
---

# Submit Message Feedback

`POST /salesforce/chat/{conversation_id}/message/{message_index}/feedback`

## Request

- Base URL: `https://backend.ressl.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.ressl.ai/salesforce/chat/{conversation_id}/message/{message_index}/feedback`
- Auth: none declared

Submit user feedback (thumbs up/down with optional comment) for a specific assistant message.

This endpoint:
1. Updates the MongoDB message document with feedback data
2. Tags the Laminar trace associated with this conversation

## Path parameters

- `conversation_id` string, required
- `message_index` integer, required: Index of the message to provide feedback for

## Query parameters

- `organization_id` string, nullable: Organization ID

## Request body

- MessageFeedbackRequest
  - `rating` integer, required
  - `comment` string, nullable

## Response `200`

Successful Response

- MessageFeedbackResponse
  - `success` boolean, required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ressl/apis/ressl-api.md) - [All operations](https://skmtc.dev/ressl/apis/ressl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ressl/apis/ressl-api/revisions/51e8b599d597?raw)
