Skip to content
Inkbox

Inkbox

ContactDocs

Jump to

Search

Search messages GET

GET /mailboxes/{email_address}/search

Search messages in a mailbox using Postgres full-text search. Results are ranked by relevance (using ts_rank) and then by recency. Unlike list endpoints, search does not use cursor pagination.

The q parameter is parsed with plainto_tsquery, so plain natural language queries work well (e.g. order confirmation, invoice january).

Path parameters

ParameterTypeDescription
email_addressstringEmail address of the mailbox to search

Query parameters

ParameterTypeRequiredDefaultDescription
qstringYesSearch query (1–500 chars)
limitintegerNo50Maximum results to return (1–100)

Response (200)

JSONJSON

Code examples


Search messages (org-wide) GET

GET /search

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

Query parameters

ParameterTypeRequiredDefaultDescription
qstringYesSearch query (1–500 chars)
limitintegerNo50Maximum results to return (1–100)

Response (200)

Same response format as the mailbox-scoped search.

Code examples

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website