List received emails
The mail that arrived at the domains of the workspace, newest first.
/v1/inboundQuery parameters
qstringText to search for. Only items that contain it are returned. Up to 40 characters.
limitintegerHow many items to return, from 1 to 100. Without it you get 25.
offsetintegerHow many items to skip. Use it with
limitto read the next page. Default:0.afterstringThe id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.
beforestringThe id of the first item you have. The answer ends with the item just before it. Give this or
after, not both. Up to 64 characters.rangestringThe period to look at:
today,week,month,year,allorcustom. Without it there is no limit in time.One of
todayweekmonthyearallcustomfromstringThe first day of a
customperiod, as a date such as2026-11-01.tostringThe last day of a
customperiod, as a date such as2026-11-30.domainstringOnly mail received on this domain.
Returns
object"list"Always
list.dataobject[]The items on this page.
data[].object"inbound_email"Always
inbound_email.data[].idstringThe id of the received email.
data[].fromstringThe address it came from.
data[].fromNamestring | nullThe name of the sender, or
nullwhen the message gave none.data[].tostringThe address it was sent to, on one of your domains.
data[].subjectstringThe subject line.
data[].domainstringThe domain of yours that received it.
data[].spambooleanWhether it was judged to be spam.
data[].sizeintegerThe size of the whole message in bytes.
data[].attachmentsintegerHow many files were attached.
data[].createdAtstringWhen it arrived.
totalintegerHow many items match in all, on every page together.
hasMorebooleanWhether more items follow this page.