> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.moveworks.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.moveworks.com/_mcp/server.

# Submit feedback

POST https://api.moveworks.ai/assistant/v1/conversations/{conversation_id}/responses/{response_id}/messages/{message_id}/feedback
Content-Type: application/json

Submits a feedback rating (helpful or unhelpful) for a specific assistant message.

Use the `callback_id` from the message's `feedback` field to indicate which rating is being submitted. The `callback_id` is an opaque token. Pass it back exactly as received.

Optionally include `additional_feedback` for free-text comments.

Reference: https://docs.moveworks.com/api-reference/conversations-api/deprecated-conversations-api/messages/submit-feedback

## Authentication

- `Authorization` header (bearer token, required) — JWT bearer token authentication. Obtain an access token from the Moveworks auth endpoint and include it in the Authorization header as 'Bearer \<token>'.

## Request

### Path parameters

- `conversation_id` (string, required) — A base-62 identifier prefixed by a short resource type
- `response_id` (string, required) — A base-62 identifier prefixed by a short resource type
- `message_id` (string, required) — A base-62 identifier prefixed by a short resource type

### Headers

- `Assistant-Name` (string, required) — The Moveworks assistant identifier that was configured for your organization.

### Body (application/json)

- `callback_id` (string, required) — The callback_id from either `feedback.helpful` or `feedback.unhelpful` on the message object. Determines which rating (helpful or unhelpful) is being submitted.
- `additional_feedback` (string, optional) — Optional free-text feedback from the user. Use this to capture additional context about why the user rated the response this way.

## Response

### 200

Feedback submitted successfully

- `status` (enum, required) — Feedback submission status
  - Allowed values: `SUBMITTED`

## Examples

**Request**

```json
{
  "callback_id": "eyJhY3Rpb24iOiJoZWxwZnVsIi4uLn0",
  "additional_feedback": "The response answered my question clearly."
}
```

**Response**

```json
{
  "status": "SUBMITTED"
}
```

**SDK Code**

```python Messages_submitFeedback_example
import requests

url = "https://api.moveworks.ai/assistant/v1/conversations/conv_32bt7BMLhLyVzTUjfi35N/responses/resp_32bt7rXXugeJjvE3pQzOk/messages/msg_32bt8vagXAoRwRLIdI2Oj/feedback"

payload = {
    "callback_id": "eyJhY3Rpb24iOiJoZWxwZnVsIi4uLn0",
    "additional_feedback": "The response answered my question clearly."
}
headers = {
    "Assistant-Name": "acmecorp-conversations-rest-api",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Messages_submitFeedback_example
const url = 'https://api.moveworks.ai/assistant/v1/conversations/conv_32bt7BMLhLyVzTUjfi35N/responses/resp_32bt7rXXugeJjvE3pQzOk/messages/msg_32bt8vagXAoRwRLIdI2Oj/feedback';
const options = {
  method: 'POST',
  headers: {
    'Assistant-Name': 'acmecorp-conversations-rest-api',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: '{"callback_id":"eyJhY3Rpb24iOiJoZWxwZnVsIi4uLn0","additional_feedback":"The response answered my question clearly."}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Messages_submitFeedback_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.moveworks.ai/assistant/v1/conversations/conv_32bt7BMLhLyVzTUjfi35N/responses/resp_32bt7rXXugeJjvE3pQzOk/messages/msg_32bt8vagXAoRwRLIdI2Oj/feedback"

	payload := strings.NewReader("{\n  \"callback_id\": \"eyJhY3Rpb24iOiJoZWxwZnVsIi4uLn0\",\n  \"additional_feedback\": \"The response answered my question clearly.\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Assistant-Name", "acmecorp-conversations-rest-api")
	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Messages_submitFeedback_example
require 'uri'
require 'net/http'

url = URI("https://api.moveworks.ai/assistant/v1/conversations/conv_32bt7BMLhLyVzTUjfi35N/responses/resp_32bt7rXXugeJjvE3pQzOk/messages/msg_32bt8vagXAoRwRLIdI2Oj/feedback")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Assistant-Name"] = 'acmecorp-conversations-rest-api'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"callback_id\": \"eyJhY3Rpb24iOiJoZWxwZnVsIi4uLn0\",\n  \"additional_feedback\": \"The response answered my question clearly.\"\n}"

response = http.request(request)
puts response.read_body
```

```java Messages_submitFeedback_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.moveworks.ai/assistant/v1/conversations/conv_32bt7BMLhLyVzTUjfi35N/responses/resp_32bt7rXXugeJjvE3pQzOk/messages/msg_32bt8vagXAoRwRLIdI2Oj/feedback")
  .header("Assistant-Name", "acmecorp-conversations-rest-api")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"callback_id\": \"eyJhY3Rpb24iOiJoZWxwZnVsIi4uLn0\",\n  \"additional_feedback\": \"The response answered my question clearly.\"\n}")
  .asString();
```

```php Messages_submitFeedback_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.moveworks.ai/assistant/v1/conversations/conv_32bt7BMLhLyVzTUjfi35N/responses/resp_32bt7rXXugeJjvE3pQzOk/messages/msg_32bt8vagXAoRwRLIdI2Oj/feedback', [
  'body' => '{
  "callback_id": "eyJhY3Rpb24iOiJoZWxwZnVsIi4uLn0",
  "additional_feedback": "The response answered my question clearly."
}',
  'headers' => [
    'Assistant-Name' => 'acmecorp-conversations-rest-api',
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Messages_submitFeedback_example
using RestSharp;

var client = new RestClient("https://api.moveworks.ai/assistant/v1/conversations/conv_32bt7BMLhLyVzTUjfi35N/responses/resp_32bt7rXXugeJjvE3pQzOk/messages/msg_32bt8vagXAoRwRLIdI2Oj/feedback");
var request = new RestRequest(Method.POST);
request.AddHeader("Assistant-Name", "acmecorp-conversations-rest-api");
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"callback_id\": \"eyJhY3Rpb24iOiJoZWxwZnVsIi4uLn0\",\n  \"additional_feedback\": \"The response answered my question clearly.\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Messages_submitFeedback_example
import Foundation

let headers = [
  "Assistant-Name": "acmecorp-conversations-rest-api",
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "callback_id": "eyJhY3Rpb24iOiJoZWxwZnVsIi4uLn0",
  "additional_feedback": "The response answered my question clearly."
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.moveworks.ai/assistant/v1/conversations/conv_32bt7BMLhLyVzTUjfi35N/responses/resp_32bt7rXXugeJjvE3pQzOk/messages/msg_32bt8vagXAoRwRLIdI2Oj/feedback")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```