InboxesMessages
Search Messages
Full-text search across messages in the inbox, ranked by relevance. The query is matched against the sender, recipients, and subject (substring) and the message body (tokenized full text). Spam, trash, blocked, and unauthenticated messages are always excluded. limit cannot exceed 100.
get/v0/inboxes/{inbox_id}/messages/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.