InboxesThreads
Search Threads
Full-text search across threads in the inbox, ranked by relevance. The query is matched against senders, recipients, and subject (substring) and the message body (tokenized full text). Spam, trash, blocked, and unauthenticated threads are always excluded. limit cannot exceed 100.
get/v0/inboxes/{inbox_id}/threads/search
Path parameters
inbox_idstring required
The ID of the inbox.
Query parameters
qstring required
Full-text search query. Matched against the sender, recipients, and subject (substring) and the message body (tokenized full text).
limitinteger
Limit of number of items returned.
page_tokenstring
Page token for pagination.
beforestring date-time
Timestamp before which to filter by.
afterstring date-time
Timestamp after which to filter by.