AladiaDocs
Api referenceRoomsMessages

Search messages

Search rooms

GET
/v2/rooms/{id}/messages/search

Search rooms

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Query Parameters

next?string
prev?string
sortBy?string
sortDirection?string

Value in

  • "desc"
  • "asc"
query?string
author?string
from?string
to?string
date?string

Response Body

application/json

curl -X GET "https://example.com/v2/rooms/string/messages/search"
{  "data": [    "string"  ],  "cursor": {    "next": "string",    "prev": "string",    "totalItems": 0  }}