Guide to updating a Chat in the Fetch Hive API.
Last updated 18 days ago
Was this helpful?
Update a specific chat's details
Agent token
Chat token
PATCH /v1/agents/{agent_id}/chats/{id} HTTP/1.1 Host: api.fetchhive.com Authorization: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 24 { "chat": { "name": "text" } }
Successful response
{ "message": "Successfully updated a chat.", "chat": { "id": 1, "name": "text", "last_message_content": "text", "last_message_sent_at": "2025-04-24T09:56:53.008Z", "message_count": 1, "generated_at": "2025-04-24T09:56:53.008Z", "token": "text", "status": "text", "agent": { "token": "text" } } }