---
title: "Refine Message"
method: POST
path: "/api/ai/refine"
tags: ["AI"]
---

# Refine Message

`POST /api/ai/refine`

## Request

- Base URL: `https://api.ruzora.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ruzora.com/api/ai/refine`
- Auth: HTTP bearer

Refine a message based on instruction

## Request body

- RefineRequest
  - `original_message` string, required
  - `instruction` string, required

## Response `200`

Successful Response

- RefineResponse
  - `refined_message` string, required
  - `changes_made` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ruzora/apis/ruzora-candidate-crm-api.md) · [All operations](https://skmtc.dev/ruzora/apis/ruzora-candidate-crm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ruzora/apis/ruzora-candidate-crm-api/revisions/f9b8223f3ac4?raw)
