threads
threads

Search Messages

Search messages across all threads with pagination.

Used for "Load more" functionality in message search results, and — with thread_id — for searching inside one open conversation, newest first. Uses workspace-aware database routing (Supabase or shared DB).

get/api/messages/search

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/messages/search
  • Auth: none declared

Query parameters

participant_namestring nullable

Participant name to filter by

emailstring nullable

Search by email address

date_fromstring nullable

Start date (YYYY-MM-DD)

date_tostring nullable

End date (YYYY-MM-DD)

querystring nullable

Search query

thread_idinteger nullable

Only this chat (search inside a conversation)

topic_idinteger nullable

Only this forum topic (with thread_id)

limitinteger
offsetinteger

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 5 revisions of this API.