Skip to main content
PATCH
/
v1
/
chat
/
{chatId}
/
title
curl -X PATCH https://api.vouchmark.com/v1/chat/chat_aBcD.../title \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title": "TIN reinstatement plan"}'
{
  "message": "Chat title updated successfully",
  "chat": {
    "id": "chat_aBcD...",
    "title": "TIN reinstatement plan"
  }
}
Updates a chat’s title. Only the chat’s owner can rename it.
Vouch AI endpoints require a positive wallet balance.

Path parameters

chatId
string
required
The chat session ID.

Body

title
string
required
The new title. Cannot be empty.
curl -X PATCH https://api.vouchmark.com/v1/chat/chat_aBcD.../title \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title": "TIN reinstatement plan"}'
{
  "message": "Chat title updated successfully",
  "chat": {
    "id": "chat_aBcD...",
    "title": "TIN reinstatement plan"
  }
}
Returns 400 if title is empty, or 404 if the chat does not exist or is not yours.