Skip to main content
GET
/
api
/
chats
/
{id}
/
messages
cURL
curl --request GET \
  --url https://recoup-api.vercel.app/api/chats/{id}/messages
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "room_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "content": {},
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Path Parameters

id
string<uuid>
required

The unique identifier (UUID) of the chat room.

Response

Messages retrieved successfully

data
object[]
required

Chronologically ordered list of messages for the chat