Skip to content

Search messages

GET
/api/chat/search

Substring search scoped to the channels the caller’s role can see. Results carry the channel they came from.

q
required
string
>= 2 characters
channelId
string format: uuid
limit
integer
nullable

Matching messages

object
ok
required
boolean
data
nullable

Search term too short

object
ok
required
boolean
error
required
string
code
string

Unauthenticated

object
ok
required
boolean
error
required
string
code
string

Forbidden

object
ok
required
boolean
error
required
string
code
string

Server error

object
ok
required
boolean
error
required
string
code
string