messages

Search messages

Read messages: LinkedIn and email, both directions, AI SDR drafts included (a draft is state pending_approval). Two jobs. Page one thread by filter.conversation_sid plus created_at { lt: the oldest row you hold }. Or work the cross-thread approval queue with filter.state { eq: "pending_approval" }, then approve / dismiss / regenerate. page_size 0 returns counts only, and counts.groups.state.pending_approval is the queue badge. Thread state, mode and reply rates are the conversations tools.

Contract:

  • MCP tool search_messages, registry package mcp.unibox/messages, mount unibox.inbox.
  • Operation search, response envelope search.
  • Flags: read only.
post/api/messages/search

Request

  • Base URL
    https://beta.getsales.io/unibox/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Request body

includestring[]

Relations to attach to every item; omit for the bare rows.

page_sizeinteger

0..500, default 50; 0 = counts only, 1 = the first row.

cursorstring nullable

pagination.next_cursor of the previous page.

Response

search success envelope.

successtrue required
operation'search' required
applied_filtersobject required
includesstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.