GET
/
api
/
messaging
/
central-channels
/
{channelId}
/
messages
Get channel messages
curl --request GET \
  --url http://localhost:3000/api/messaging/central-channels/{channelId}/messages
{
  "success": true,
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "text": "<string>",
      "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "roomId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": 123,
      "metadata": {}
    }
  ]
}

Path Parameters

channelId
string
required

Query Parameters

limit
integer
default:50
before
string

Response

200
application/json

Messages retrieved successfully

The response is of type object.