Create a Chat
Guide to creating a Chat in the Fetch Hive API.
Last updated
Guide to creating a Chat in the Fetch Hive API.
Last updated
POST /v1/agents/{agent_id}/chats HTTP/1.1
Host: api.fetchhive.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"chat": {
"name": "text"
}
}{
"message": "Successfully created a chat.",
"chat": {
"id": 1,
"name": "text",
"last_message_content": "text",
"last_message_sent_at": "2026-01-30T00:16:00.699Z",
"message_count": 1,
"generated_at": "2026-01-30T00:16:00.699Z",
"token": "text",
"status": "text",
"agent": {
"token": "text"
}
}
}