Skip to content

GET · Bearer

GET /api/v1/inboxes/:id/threads/search?q=invoice

Summary

Threads in this inbox with at least one message matching q (subject, extracted_text, from, or to). Each thread includes assignment, folder, and purge_after. Ordered by the best match. limit is 1–50 (default 20). folder is inbox, archive, spam, trash, or all. Omit folder to search inbox and archive only. Empty q returns 400 missing_query. A bad folder returns 400 invalid_folder. Thread ids are thr_…, so this static search path does not hide a real thread.

Query

?q=invoice&limit=20

Response

The OpenAPI document does not declare a JSON response schema for this call. The summary is the contract.

Errors

  • HTTP 400 missing_query
  • HTTP 400 invalid_folder

Idempotency

This route does not document Idempotency-Key or client_id.