v8

latestOpenAPI 3.0.3raw.githubusercontent.com2026-05-2526602.8 MB
Chat Messages

Search Chat Messages

Search messages in a specific chat. Returns a list of message IDs matching the search query.

get/api/{account}/chats/{chat_id}/messages/search

Query parameters

querystring required

The query search in messages.

Example:Hello

The query search in messages.

Response

Success

datainteger[]

Example response

{
  "data": [
    123,
    456,
    789
  ],
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 999999892,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 1000,
      "limit_day": 50000,
      "remaining_minute": 999,
      "remaining_day": 49979
    }
  }
}