Skip to main content

Search messages

Search messages in a mailbox with full-text search. Results are ranked by relevance and then by recency. Unlike list endpoints, search does not use cursor pagination. The q parameter accepts plain natural-language queries (e.g. order confirmation, invoice january).

Path parameters

Query parameters

Response (200)

JSON

Code examples


Search messages (org-wide)

Search messages across all mailboxes in your organization. Same full-text search as the mailbox-scoped endpoint, but searches everything at once.

Query parameters

Response (200)

Same response format as the mailbox-scoped search.

Code examples