GET
/chat
curl \
--request GET 'https://referspecs-backend.onrender.com/api/v1/chat' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": true,
"statusCode": 200,
"message": "string",
"data": [
{
"id": "string",
"userId": "string",
"chatName": "string",
"systemMessage": "string",
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z",
"status": "active",
"type": "text"
}
]
}
Response examples (401)
{
"success": false,
"statusCode": 400,
"message": "Error description"
}
Response examples (500)
{
"success": false,
"statusCode": 400,
"message": "Error description"
}