Ana içeriğe geç

Search messages in a conversation

GET 

/api/conversations/:conversationId/messages/search

Case-insensitive body search (Postgres ILIKE; %/_ in the term are escaped to literals). Newest first, paginated. Each hit carries a trimmed snippet centred on the match plus the source id/created_at so the inbox can preview and jump to the message. An empty q yields an empty page. Authorized through the conversation view ability.

Request​

Responses​

A page of search hits (newest first).